/* fitcroco.com (2026-11-04). The app's look on the web: an off-white ground, flat white panels,
   ink text and actions, deep forest green for the hero, green for links, Archivo Expanded (the
   logo's font) for headings. Plain CSS, no build step; phone first, wider layouts from 760px
   and 1080px. */
@font-face {
  font-family: 'Archivo Expanded';
  src: url('/assets/archivo-expanded.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  --ground: #F4F5F2;
  --surface: #FFFFFF;
  --ink: #0F1A14;
  --ink-soft: #2A352E;
  --muted: #55615A;
  --line: #E3E7E1;
  --accent: #1F7A4C;
  --tint: #EEF4EF;
  --forest: #10301F;
  --forest-deep: #0B2416;
  --forest-text: #DCEFE3;
  --forest-muted: #A9D9BC;
  --amber: #F2C27A;
  --brand: 'Archivo Expanded', 'Arial Black', 'Helvetica Neue', system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --page: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 28px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--accent); font-weight: 650; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--brand); font-weight: 800; margin: 0; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.4vw, 66px); }
h2 { font-size: clamp(30px, 4.6vw, 50px); }
h3 { font-size: clamp(19px, 2vw, 22px); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--muted); max-width: 34em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; justify-self: start; width: fit-content; font-size: 15px; font-weight: 700; letter-spacing: 0.01em; color: var(--accent); background: var(--tint); padding: 7px 14px; border-radius: 999px; }
.center .eyebrow { justify-self: center; }
.eyebrow svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Header: sticky, frosted */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(244, 245, 242, 0.82); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding-top: env(safe-area-inset-top, 0px); }
.logo { display: block; line-height: 0; flex-shrink: 0; }
.logo img { height: 20px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); font-weight: 600; font-size: 15px; padding: 9px 14px; border-radius: 999px; }
.nav a:hover { background: rgba(15, 26, 20, 0.06); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--surface); }
.nav .pill { background: var(--ink); color: #fff; margin-left: 6px; }
.nav .pill:hover { background: var(--ink); opacity: .88; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; transition: transform .15s, opacity .15s; }
.button:hover { text-decoration: none; opacity: .9; }
.button:active { transform: scale(.98); }
.button.light { background: #fff; color: var(--forest); }
.button.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }

/* Store buttons: not live yet, so not links; the official badges replace them at launch */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 22px 8px 18px; border-radius: 16px; background: #fff; color: var(--forest); }
.store svg { width: 24px; height: 24px; flex-shrink: 0; }
.store span { display: grid; line-height: 1.15; }
.store small { font-size: 12px; font-weight: 600; opacity: .7; }
.store strong { font-size: 17px; letter-spacing: -0.01em; }
.on-light .store { background: var(--ink); color: #fff; }

/* Phones: real app screenshots in a simple frame */
.phone { position: relative; width: var(--w, 300px); aspect-ratio: 600 / 1305; border-radius: calc(var(--w, 300px) * .155); padding: calc(var(--w, 300px) * .03); background: #0B140F; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 40px 80px -30px rgba(6, 20, 12, .55), 0 18px 36px -18px rgba(6, 20, 12, .35); flex-shrink: 0; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w, 300px) * .125); }

/* Hero: the one forest panel */
.hero { position: relative; overflow: hidden; margin-top: 8px; border-radius: 36px; background: radial-gradient(120% 90% at 85% 10%, #1A4A31 0%, var(--forest) 45%, var(--forest-deep) 100%); color: var(--forest-text); display: grid; gap: 40px; padding: clamp(32px, 6vw, 72px) clamp(24px, 6vw, 72px) 0; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--forest-text); }
.hero .eyebrow { color: var(--forest-muted); padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); }
.hero-copy { display: grid; gap: 22px; align-content: start; justify-items: start; }
.hero-note { font-size: 14px; color: var(--forest-muted); }
.hero-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 380px; }
.hero-phones .phone { --w: min(68vw, 290px); margin-bottom: -18%; }
.hero-phones .phone.back { position: absolute; --w: min(58vw, 250px); transform: translate(-42%, -6%) rotate(-6deg); opacity: .9; filter: saturate(.9); }
.hero-phones .phone.front { transform: translateX(18%); }


/* The app's five tabs as a contents line */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 650; }
.tabs a:hover { text-decoration: none; background: var(--tint); }
.tabs svg { width: 18px; height: 18px; color: var(--accent); }

section { padding-top: clamp(64px, 10vw, 128px); }
.center { text-align: center; display: grid; justify-items: center; gap: 18px; }
.center .lead { margin-inline: auto; }

/* A feature: copy and a phone, alternating sides on wide screens */
.feature { display: grid; gap: 36px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 5vw, 64px) clamp(24px, 5vw, 64px) 0; overflow: hidden; }
.feature + .feature { margin-top: 20px; }
.feature-copy { display: grid; gap: 16px; align-content: center; padding-bottom: 8px; }
.feature-copy .lead { font-size: clamp(17px, 1.8vw, 19px); }
.points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.points strong { color: var(--ink); }
.points li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7A4C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.feature-shot { display: flex; justify-content: center; align-items: flex-end; height: clamp(380px, 62vw, 520px); overflow: hidden; }
.feature-shot .phone { --w: min(70vw, 300px); align-self: flex-start; }
/* Two phones in one feature: the page behind, the detail in front */
.feature-shot.duo { position: relative; }
.feature-shot.duo .phone.back { position: absolute; --w: min(48vw, 200px); left: 50%; top: 40px; transform: translateX(-68%) rotate(-5deg); }
.feature-shot.duo .phone.front { --w: min(58vw, 240px); transform: translateX(12%); margin-top: 8px; }

/* Sound familiar? */
.pains { display: grid; gap: 14px; margin-top: 40px; }
.pain { background: var(--surface); border-radius: var(--radius); padding: 26px 26px 28px; display: grid; gap: 10px; align-content: start; }
.pain p { color: var(--muted); }
.answer { margin: 36px auto 0; max-width: 40em; text-align: center; font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); }
.answer strong { color: var(--ink); }

/* Your goal and the block */
.feature-visual { padding-bottom: clamp(28px, 5vw, 64px); display: flex; align-items: center; }
.block { width: 100%; background: var(--forest); color: var(--forest-text); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); display: grid; gap: 28px; }
.block-head { display: grid; gap: 8px; }
.block-head h3 { color: #fff; }
.block-head p { color: var(--forest-text); max-width: 40em; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; }
.timeline li { position: relative; display: grid; gap: 2px; padding-left: 30px; }
.timeline li::before { content: ''; position: absolute; left: 7px; top: 18px; bottom: -18px; width: 2px; background: rgba(255,255,255,.18); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--forest); box-shadow: inset 0 0 0 3px var(--forest-muted); }
.timeline .end .dot { background: var(--amber); box-shadow: none; }
.timeline .next .dot { box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.timeline strong { color: #fff; font-size: 16px; }
.timeline span:not(.dot) { color: var(--forest-text); font-size: 15px; }
.timeline .next span:not(.dot) { color: var(--forest-muted); }

/* fitcroco vs online coaching */
.compare { margin-top: 40px; background: var(--surface); border-radius: var(--radius); padding: clamp(8px, 2vw, 20px); overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: clamp(14px, 1.6vw, 17px); }
.compare th, .compare td { text-align: left; padding: 16px clamp(10px, 2vw, 22px); vertical-align: top; }
.compare thead th { font-size: 14px; font-weight: 700; color: var(--muted); padding-bottom: 12px; }
.compare thead th.us { color: var(--accent); }
.compare tbody th { font-weight: 650; color: var(--ink); width: 28%; }
.compare tbody td { color: var(--muted); width: 32%; }
.compare tbody tr + tr { border-top: 1px solid var(--line); }
.compare td.us { color: var(--ink); font-weight: 650; background: var(--tint); }
.compare td.us span { display: inline; }
.compare td.us svg { width: 16px; height: 16px; color: var(--accent); vertical-align: -2px; margin-right: 8px; }
.compare tbody tr:first-child td.us { border-radius: 14px 14px 0 0; }
.compare tbody tr:last-child td.us { border-radius: 0 0 14px 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Trust */
.cards { display: grid; gap: 16px; margin-top: 40px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; }
.card p { color: var(--muted); }
.icon-tile { width: 48px; height: 48px; border-radius: 15px; background: var(--tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 8px; }
.icon-tile svg { width: 24px; height: 24px; }

/* Dark band (business, download) */
.band { border-radius: 36px; background: var(--ink); color: #DDE5E0; padding: clamp(36px, 6vw, 72px); display: grid; gap: 28px; align-items: center; }
.band h2 { color: #fff; }
.band .lead { color: #B9C4BD; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Plain pages: a short hero and white panels */
.page-hero { padding-top: clamp(40px, 8vw, 96px); display: grid; gap: 20px; justify-items: start; }
.panel { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4.5vw, 48px); }
.panel + .panel { margin-top: 16px; }
.contact-grid { display: grid; gap: 16px; margin-top: clamp(32px, 5vw, 56px); }
.contact { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 12px; align-content: start; }
.contact.main { background: var(--forest); color: var(--forest-text); }
.contact.main .label { color: var(--forest-muted); }
.contact.main .address { color: #fff; }
.contact.main .actions a, .contact.main .copy { color: #fff; }
.contact .label { font-size: 15px; font-weight: 650; color: var(--muted); }
.contact .address { font-family: var(--brand); font-size: clamp(20px, 3.4vw, 32px); letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); overflow-wrap: anywhere; }
.contact p { color: inherit; opacity: .9; }
.contact .actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 6px; }
.copy { font: inherit; font-size: 16px; font-weight: 650; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; }
.copy:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Long text (privacy, account deletion) */
.prose { display: grid; gap: 14px; max-width: 46em; }
.prose h2 { font-size: clamp(22px, 2.6vw, 26px); margin-top: 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.meta { color: var(--muted); font-size: 15px; }

/* Footer: the company details the law asks for, on every page */
.site-footer { margin-top: clamp(72px, 11vw, 140px); background: var(--surface); padding-block: clamp(44px, 6vw, 72px) calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand img { height: 20px; width: auto; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col h3 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.footer-col a { color: var(--ink-soft); font-weight: 500; }
.footer-col p { line-height: 1.5; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 14px; }

/* Gentle reveal on scroll (only with JavaScript and when motion is welcome) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Phone: tighter header */
@media (max-width: 520px) {
  .nav a { padding: 8px 10px; font-size: 14px; }
  .nav .hide-small { display: none; }
  .hero { border-radius: 28px; }
  .feature { border-radius: 24px; }
}

/* Tablet and up */
@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .pains { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1.3fr 1fr; }
  .contact-grid.even { grid-template-columns: 1fr 1fr; }
  .contact-grid.even .address { font-size: clamp(20px, 2.3vw, 27px); white-space: nowrap; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .band { grid-template-columns: 1fr auto; }
}

/* Computer */
@media (min-width: 1000px) {
  .pains { grid-template-columns: repeat(4, 1fr); }

  .site-header .wrap { min-height: 76px; }
  .logo img { height: 22px; }
  .hero { grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; min-height: 660px; padding-bottom: 0; }
  .hero-copy { padding-bottom: 72px; }
  .hero-phones { align-self: end; min-height: 600px; }
  .hero-phones .phone { --w: 300px; margin-bottom: -60px; }
  .hero-phones .phone.back { --w: 258px; transform: translate(-30%, -12%) rotate(-6deg); }
  .hero-phones .phone.front { transform: translateX(34%); }
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; padding-bottom: 0; }
  .feature-copy { padding-bottom: clamp(28px, 5vw, 64px); }
  .feature.flip .feature-copy { order: 2; }
  .feature-shot { height: 560px; align-self: end; align-items: flex-start; padding-top: 0; }
  .feature-shot .phone { --w: 310px; }
  .feature-shot.duo .phone.back { --w: 250px; transform: translateX(-70%) rotate(-5deg); }
  .feature-shot.duo .phone.front { --w: 296px; transform: translateX(24%); }
}
