/* The landing of fruitback.com (docs/_layouts/landing.html), on the tokens of design/README.md. */
:root {
  --ink: #1c1917;
  --muted: #78716c;
  --faint: #a8a29e;
  --line: #e7e5e4;
  --page: #faf9f5;
  --surface: #ffffff;
  --chip: #f5f5f4;
  --accent: #dd2c27;
  --accent-strong: #b91c1c;
  --done: #56802e;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font:
    16px/1.55 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

.top-nav a:not(.button) {
  color: var(--muted);
  text-decoration: none;
}

.top-nav a:not(.button):hover {
  color: var(--ink);
}

@media (max-width: 720px) {
  .top-nav a:not(.button) {
    display: none;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button-small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.button-outline {
  background: var(--surface);
  border-color: var(--ink);
  color: var(--ink);
}

.button-outline:hover {
  background: var(--chip);
  border-color: var(--ink);
}

.button-block {
  display: flex;
  width: 100%;
}

.hero {
  padding-top: 72px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

h1,
h2 {
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  margin: 0 auto;
  max-width: 820px;
  font-size: clamp(40px, 7vw, 68px);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.5vw, 44px);
}

.lead {
  margin: 20px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.center {
  text-align: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 48px;
}

.frame {
  margin: 0 auto;
  max-width: 1000px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px 14px 0 0;
  background: var(--surface);
  box-shadow: 0 30px 80px -30px rgba(28, 25, 23, 0.3);
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  background: #ece7e1;
}

.frame-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d6cfc7;
}

.frame-bar em {
  margin-left: 14px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.section {
  padding-top: 96px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.steps img {
  border: 1px solid var(--line);
  border-radius: 10px;
}

.steps h3 {
  margin: 16px 0 4px;
  font-size: 18px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.note {
  margin-top: 24px;
  color: var(--muted);
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

@media (max-width: 760px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.plan {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.plan-main {
  border-color: var(--ink);
}

.plan h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.muted {
  color: var(--muted);
}

.plan .muted {
  margin: 6px 0 0;
  font-size: 15px;
}

.price {
  margin: 24px 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.price strong {
  margin-right: 6px;
  color: var(--ink);
  font-size: 34px;
  letter-spacing: -0.03em;
}

.checks {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.checks li {
  position: relative;
  padding-left: 24px;
  margin: 8px 0;
}

.checks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 6px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--done);
  border-bottom: 2px solid var(--done);
  transform: rotate(-45deg);
}

.table-title {
  margin: 56px 0 14px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

tbody tr:last-child td {
  border-bottom: 0;
}

th {
  font-size: 13px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

.faq {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

@media (max-width: 860px) {
  .faq {
    grid-template-columns: 1fr;
  }
}

.faq h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.faq p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.guides h1 {
  font-size: 32px;
  text-align: left;
}

.guides h2 {
  margin-top: 40px;
  font-size: 24px;
}

.guides p {
  max-width: 760px;
}

.guides table td:first-child a {
  font-weight: 600;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 96px;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
