/*
  Schedra's public main page and pricing page (public/home, public/pricing).

  Sam, 2026-10-29: "create a new main page for schedra showing people what we
  do, with a login and register button that takes you to the login page, as
  well a pricing tab. we want to mimic procore website main page as close as
  applicable ... focus is on screating a memoriable first wow impressing whilst
  informing the user what schedra is".

  Static HTML, like support/privacy/terms, so it answers without a sign-in and
  loads before the app's bundle does. The order of sections is procore.com's
  (sticky nav with a two-button pair, hero, proof strip, audience tabs,
  feature grid, product showcase, support cards, FAQ, dark closing band,
  footer). What Procore fills with things Schedra does not have -- a customer
  logo wall, testimonials, certification badges, vanity statistics -- is left
  out rather than invented: a made-up quote on a first page is the one thing
  that costs more trust than an empty space.

  The mark is BrandLogo.tsx's own geometry as inline SVG, never an image a
  model drew (DESIGN.md, "the logo is placed, never drawn"). Photographs are
  OpenAI gpt-image-1.5; the phone screens are real screenshots of the app.
*/
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-600-latin.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2191, U+2193, U+2212;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-600-latin-ext.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF;
}

:root {
  color-scheme: light dark;
  --navy: #0a0c1c;
  --navy-2: #12163a;
  --light-green: #22c55e;
  --schedra-green: #58b843;
  --dark-blue: #062a9b;
  --turquoise: #128dd0;
  --chelsea-blue: #2563eb;
  --page: #ffffff;
  --tint: #f4f7fb;
  --card: #ffffff;
  --text: #121620;
  --muted: #566074;
  --rule: #e2e7ef;
  --accent: var(--chelsea-blue);
  --radius: 14px;
  --wrap: 1180px;
  --display: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0a0c1c;
    --tint: #0f1330;
    --card: #141a3a;
    --text: #e9edf4;
    --muted: #9aa6b8;
    --rule: #2a3150;
    --accent: #58b843;
  }
}

* { box-sizing: border-box; }
* {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, currentColor 22%, transparent) transparent;
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, currentColor 22%, transparent); border-radius: 999px; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---- buttons: one primary, one quiet, always as a pair ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font: 600 16px/1 var(--display);
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--schedra-green); color: #06210a; box-shadow: 0 6px 20px -8px rgba(88, 184, 67, 0.7); }
.btn-primary:hover { background: #66c851; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-outline { color: var(--text); border-color: var(--rule); background: var(--card); }
.btn-outline:hover { border-color: var(--accent); }
.arrow-link { font-weight: 600; text-decoration: none; }
.arrow-link::after { content: ' \2192'; }

/* ---- the sticky bar: flush, opaque, still (DESIGN.md) ----------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #eef2f8; }
.lockup .wordmark { font: 600 23px/1 var(--display); letter-spacing: -0.01em; }
.lockup .tm { font-size: 0.5em; position: relative; top: -0.6em; margin-left: 0.1em; letter-spacing: normal; }
.nav-links { display: flex; gap: 24px; font-size: 15px; }
.nav-links a { color: #b9c4d8; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: #fff; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-actions .login { color: #dfe6f2; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-actions .login:hover { color: #fff; }
.nav-actions .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 24px 16px;
  }
  .nav-links.open a { padding: 12px 0; font-size: 17px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .menu-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
  }
  /*
    Log in stays on the phone (Sam, 2026-10-29: "on the mobile site > make a
    login button appear for exisiting users to easily login. currently only
    register is shown"). Somebody who already has an account is the visitor
    most likely to be on a phone, standing on site, and hiding their way in
    behind the menu cost them a tap every time. It becomes a quiet outlined
    button so the pair reads as primary (Register) and secondary (Log in).
  */
  .nav-in { gap: 12px; }
  .nav-actions { gap: 8px; }
  .nav-actions .login {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    line-height: 1;
    white-space: nowrap;
    font-family: var(--display);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
  }
  .nav-actions .btn { padding: 0 14px; }
}
/* The narrowest phones: the wordmark gives up a little so both buttons fit. */
@media (max-width: 380px) {
  .wrap { padding-inline: 16px; }
  .nav-in { gap: 6px; }
  .nav-actions { gap: 6px; }
  .lockup { gap: 8px; }
  .lockup .wordmark { font-size: 20px; }
  .nav-actions .login, .nav-actions .btn { padding: 0 11px; font-size: 14px; }
  .menu-toggle { width: 36px; }
}

/* ---- hero ------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy) url('/home/img/hero.jpg') center / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 12, 28, 0.94) 0%, rgba(10, 12, 28, 0.78) 42%, rgba(10, 12, 28, 0.2) 75%),
    linear-gradient(0deg, rgba(10, 12, 28, 0.9) 0%, rgba(10, 12, 28, 0) 35%);
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
  min-height: min(820px, calc(100svh - 68px));
  padding-block: 72px 64px;
}
/*
  Sized from the column it has to fill, not from the body scale -- DESIGN.md,
  "text fills the space it is given". The column is about 55% of the wrap, so
  the type follows the viewport up to the wrap's width and stops there.
*/
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #3b8ef2, #35a9a3 45%, #7bc23f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #cdd7e8; max-width: 36em; margin: 22px 0 32px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .fine { margin-top: 16px; font-size: 14px; color: #93a2bc; }

/* The phone, holding a real screenshot of the app. */
.phone {
  position: relative;
  width: min(300px, 70vw);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #2a3150, #0b0e22);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 29px; }
.hero .phone { transform: rotate(3deg); animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-12px); }
}

/*
  The first wow: the seven bars of the mark build themselves behind the phone,
  one after another, the way a schedule fills in. It is the mark's own
  geometry (BrandLogo.tsx, viewBox 0 0 104 97), placed, scaled and animated --
  not a drawing of it.
*/
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .bars {
  position: absolute;
  width: 135%;
  max-width: 560px;
  opacity: 0.55;
  filter: drop-shadow(0 0 24px rgba(59, 142, 242, 0.45));
}
.bars rect { transform-box: fill-box; transform-origin: left center; animation: grow 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.bars line { animation: fade 0.4s ease both; }
.bars rect:nth-of-type(1) { animation-delay: 0.15s; }
.bars rect:nth-of-type(2) { animation-delay: 0.3s; }
.bars rect:nth-of-type(3) { animation-delay: 0.45s; }
.bars rect:nth-of-type(4) { animation-delay: 0.6s; }
.bars rect:nth-of-type(5) { animation-delay: 0.75s; }
.bars rect:nth-of-type(6) { animation-delay: 0.9s; }
.bars rect:nth-of-type(7) { animation-delay: 1.05s; }
.bars line { animation-delay: 1.3s; }
@keyframes grow { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.hero-in > div:first-child > * { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-in > div:first-child > *:nth-child(2) { animation-delay: 0.1s; }
.hero-in > div:first-child > *:nth-child(3) { animation-delay: 0.2s; }
.hero-in > div:first-child > *:nth-child(4) { animation-delay: 0.3s; }
.hero-in > div:first-child > *:nth-child(5) { animation-delay: 0.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-block: 48px 56px; gap: 48px; }
  .hero::before { background: linear-gradient(0deg, rgba(10, 12, 28, 0.95) 30%, rgba(10, 12, 28, 0.7) 100%); }
  .hero .phone { width: min(250px, 66vw); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* The four named colours, the band the support pages already carry. */
.band { display: flex; height: 4px; }
.band span { flex: 1; }
.band span:nth-child(1) { background: var(--light-green); }
.band span:nth-child(2) { background: var(--dark-blue); }
.band span:nth-child(3) { background: var(--turquoise); }
.band span:nth-child(4) { background: var(--chelsea-blue); }

/* ---- the proof strip, in place of a customer logo wall ---------------- */
.formats { background: var(--tint); border-bottom: 1px solid var(--rule); }
.formats-in { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; justify-content: center; padding-block: 22px; }
.formats p { margin: 0; color: var(--muted); font-size: 15px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--rule);
  font-weight: 600;
  font-size: 15px;
}
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--schedra-green); }

/* ---- sections --------------------------------------------------------- */
section.block { padding-block: clamp(64px, 9vw, 112px); }
section.tinted { background: var(--tint); }
section.dark { background: var(--navy); color: #fff; }
/* In the dark theme the page is already navy, so the dark band goes a step
   deeper and takes a hairline, or the rhythm of light and dark sections is lost. */
@media (prefers-color-scheme: dark) {
  section.dark { background: #05061a; border-block: 1px solid var(--rule); }
}
section.dark .muted { color: #a9b5ca; }
.head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.head h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; }
.head p { color: var(--muted); font-size: 1.1rem; margin: 16px 0 0; }
section.dark .head p { color: #b4c0d4; }

/* Audience tabs -- Procore's "purpose-built for" block. */
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tabs button {
  font: 600 15px/1 var(--display);
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}
.tabs button[aria-selected='true'] { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (prefers-color-scheme: dark) {
  .tabs button[aria-selected='true'] { background: var(--schedra-green); color: #06210a; border-color: var(--schedra-green); }
}
.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
}
.panel[hidden] { display: none; }
.panel img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.panel .copy { padding: clamp(28px, 4vw, 52px); align-self: center; }
.panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.panel p { color: var(--muted); margin: 14px 0 20px; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checks li::before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-top: 2px;
  background: var(--schedra-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306210a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 860px) {
  .panel { grid-template-columns: 1fr; }
  .panel img { min-height: 220px; max-height: 280px; }
}

/* The six things Schedra is for -- Sam's main marketing points. */
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(16, 24, 64, 0.35); border-color: color-mix(in srgb, var(--accent) 40%, var(--rule)); }
.feature .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
}
.feature:nth-child(1) .icon { background: #1e3fd6; }
.feature:nth-child(2) .icon { background: #2563eb; }
.feature:nth-child(3) .icon { background: #3b8ef2; }
.feature:nth-child(4) .icon { background: #45a7c8; }
.feature:nth-child(5) .icon { background: #35a9a3; }
.feature:nth-child(6) .icon { background: #58b843; }
.feature h3 { font-size: 1.25rem; line-height: 1.25; }
.feature p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }
@media (max-width: 960px) { .grid6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid6 { grid-template-columns: 1fr; } }

/* The product showcase: three real screens on the dark band. */
.showcase { display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 3vw, 40px); }
.showcase figure { margin: 0; text-align: center; }
.showcase .phone { width: clamp(180px, 22vw, 260px); }
.showcase figure:nth-child(2) .phone { width: clamp(200px, 25vw, 290px); }
.showcase figcaption { margin-top: 18px; font: 600 16px/1.3 var(--display); }
.showcase figcaption span { display: block; font: 400 14px/1.4 system-ui, sans-serif; color: #a9b5ca; margin-top: 4px; }
@media (max-width: 760px) {
  .showcase { overflow-x: auto; justify-content: flex-start; padding-bottom: 12px; scroll-snap-type: x mandatory; }
  .showcase figure { flex: 0 0 auto; scroll-snap-align: center; }
}

/* A split: words one side, a picture the other. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; }
.split p { color: var(--muted); font-size: 1.08rem; }
.split .photo { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(10, 12, 28, 0.5); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* A change, as the change log records it -- an illustration in HTML. */
.logcard {
  margin-top: 26px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px 14px;
  align-items: center;
  max-width: 480px;
}
.logcard .num { grid-row: span 2; width: 42px; height: 42px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; font: 600 15px var(--display); }
.logcard strong { font-size: 16px; }
.logcard .meta { color: var(--muted); font-size: 14px; grid-column: 2; }
.logcard .delta { grid-row: span 2; grid-column: 3; font: 600 14px var(--display); color: #b45309; background: #fef3c7; padding: 5px 10px; border-radius: 999px; }

/* Facts band -- true facts about the product, not vanity numbers. */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.facts div { padding: 8px; }
.facts strong {
  display: block;
  font: 600 clamp(2.4rem, 4.4vw, 3.4rem)/1 var(--display);
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #3b8ef2, #7bc23f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.facts span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }

/* "Built by real teams for real teams" -- Procore's support cards. */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid3 .feature .icon { background: var(--chelsea-blue); }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }

/* FAQ, one open at a time is not enforced: comparing two answers is allowed. */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font: 600 18px/1.35 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font: 400 26px/1 system-ui, sans-serif;
  color: var(--accent);
}
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* Closing band. */
.closing {
  position: relative;
  color: #fff;
  text-align: center;
  background: var(--navy) url('/home/img/closing.jpg') center / cover no-repeat;
  isolation: isolate;
  padding-block: clamp(88px, 12vw, 150px);
}
.closing::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(10, 12, 28, 0.72); }
.closing h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.05; max-width: 15em; margin: 0 auto; }
.closing p { color: #c6d1e3; font-size: 1.12rem; margin: 18px auto 32px; max-width: 36em; }
.closing .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store { display: flex; justify-content: center; margin-top: 28px; }
.store img { height: 58px; width: auto; }

/* Footer. */
footer.site { background: var(--navy); color: #b9c4d8; padding-block: 56px 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { margin: 0 0 14px; color: #fff; font: 600 15px var(--display); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { color: #b9c4d8; text-decoration: none; }
.foot-grid a:hover { color: #fff; }
.foot-grid .about p { margin: 14px 0 0; max-width: 30em; }
.foot-grid .store { justify-content: flex-start; margin-top: 18px; }
.foot-grid .store img { height: 48px; }
.legal { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 40px; padding-top: 22px; font-size: 14px; }
.legal a { color: #b9c4d8; text-decoration: none; margin-right: 18px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid .about { grid-column: 1 / -1; } }

/* Reveal on scroll -- only where JavaScript ran, so nothing is ever hidden for good. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- pricing page ------------------------------------------------------ */
.price-hero { background: var(--navy); color: #fff; text-align: center; padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px); }
.price-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
.price-hero p { color: #c6d1e3; font-size: 1.15rem; margin: 18px auto 0; max-width: 34em; }
.billing { display: inline-flex; margin-top: 30px; padding: 4px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; }
.billing button { font: 600 15px/1 var(--display); color: #cfd8e7; background: none; border: 0; padding: 12px 20px; border-radius: 999px; cursor: pointer; }
.billing button[aria-pressed='true'] { background: #fff; color: var(--navy); }
.billing .save { color: var(--schedra-green); margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -1px; }
.plan {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border: 2px solid var(--schedra-green); box-shadow: 0 24px 50px -30px rgba(88, 184, 67, 0.6); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--schedra-green); color: #06210a; font: 600 12px/1 var(--display); padding: 6px 10px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
.plan h3 { font-size: 1.3rem; }
.plan .who { color: var(--muted); font-size: 15px; margin: 6px 0 18px; }
.plan .price { font: 600 2.8rem/1 var(--display); letter-spacing: -0.03em; }
.plan .per { color: var(--muted); font-size: 15px; margin: 8px 0 22px; min-height: 2.6em; }
.plan .btn { width: 100%; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li::before { content: '\2713'; color: var(--schedra-green); font-weight: 700; }
.plan-group { font: 600 13px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.plans-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.plans-wrap > div > .plans { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .plans-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .plans-wrap > div > .plans { grid-template-columns: 1fr; } }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.extras .feature h3 { font-size: 1.1rem; }
.extras .feature .amount { font: 600 1.6rem/1 var(--display); margin-top: 12px; display: block; }
@media (max-width: 860px) { .extras { grid-template-columns: 1fr; } }
