/* Techedge Innovation, round 2. Built on the Techedge brand (techedgeinnovation.com/brand): dark site, gold accent only,
   one jewel band per screen, Cormorant Garamond 28px and up, Montserrat labels, Inter body. Each direction adds its own layout. */
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-garamond-latin-600-italic.woff2) format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: Montserrat; src: url(fonts/montserrat-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --gold: #A87842; --gold-hi: #B98A52; --gold-text: #C9995A;
  --midnight: #121A30; --evergreen: #152D2A; --plum: #24162F;
  --onyx: #0F1010; --charcoal: #222423; --cream: #FAF7F0; --parchment: #F4EEE2; --stone: #9B9A92; --slate: #5E5B54; --ink: #16171A;
  --gold-deep: #7A5628; --line: rgba(250, 247, 240, .14);
  --display: "Cormorant Garamond", Georgia, serif; --label: Montserrat, system-ui, sans-serif; --body: Inter, system-ui, sans-serif;
  --r-btn: 8px; --r-card: 14px; --head: 72px; --wrap: 1200px; --gut: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: only dark;
}
* { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: transparent; }
button, .btn, label, summary, .link { -webkit-user-select: none; user-select: none; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head); -webkit-text-size-adjust: 100%; background: var(--onyx); }
body { background: var(--onyx); color: var(--cream); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
/* Every image fits on one screen below the header, at any size. */
main img:not(.film) { max-height: calc(100svh - var(--head) - 32px); }
a { color: var(--gold-text); text-underline-offset: 4px; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--onyx); }
/* The skip link only shows when a keyboard user tabs to it. */
.skip { position: absolute; left: 12px; top: -120px; z-index: 100; padding: 12px 16px; border-radius: var(--r-btn); background: var(--cream); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }

/* Type */
h1, h2, .h, .mq-total b, .offer .price, .step::before { font-variant-numeric: lining-nums; }
h1, h2, .h { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.4vw, 104px); }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
h3 { font: 600 20px/1.3 var(--body); }
em { font-style: italic; color: var(--gold-text); }
.eyebrow { font: 500 14px/1.4 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--cream); max-width: 40ch; }
.bg-parchment .lede { color: var(--ink); }
.quiet { color: var(--stone); }
p + p { margin-top: 1em; }
.eyebrow + h1, .eyebrow + h2 { margin-top: 16px; }

/* Buttons: solid gold, 8px corners, never pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 0; border-radius: var(--r-btn); background: var(--gold); color: var(--onyx); font: 600 17px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: 0 10px 28px -12px rgba(168, 120, 66, .55); transition: background .25s var(--ease), transform .25s var(--ease); }
.btn:hover { background: var(--gold-hi); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.link { display: inline-flex; align-items: center; min-height: 48px; color: var(--cream); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.link:hover { color: var(--gold-text); }
.safe { margin-top: 12px; font-size: 15px; color: var(--stone); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }

/* Header: sticky from the first pixel, one height, never hides. Logo home, call to action always in it. */
.site-head { position: sticky; top: 0; z-index: 50; height: var(--head); background: rgba(15, 16, 16, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-head .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; min-height: 48px; flex: none; }
.logo img { width: auto; height: 34px; }
.site-head nav { display: flex; gap: 4px; margin-left: auto; }
.site-head nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; color: var(--cream); font: 500 13px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.site-head nav a:hover { color: var(--gold-text); }
.site-head .btn { min-height: 48px; padding: 0 20px; font-size: 16px; box-shadow: none; }
@media (max-width: 899px) { .site-head nav { display: none; } .site-head .btn { margin-left: auto; } }
@media (max-width: 599px) { :root { --head: 64px; } .logo img { height: 28px; } .site-head .wrap { gap: 12px; } .site-head .btn { padding: 0 16px; font-size: 15px; } }
@media (max-width: 374px) { .logo img { height: 24px; } .site-head .btn { padding: 0 12px; } }

/* Sections: every one looks different from the one before it (never two backgrounds in a row) */
section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.bg-onyx { background: var(--onyx); }
.bg-coal { background: var(--charcoal); }
/* Jewel bands glow from a lighter tint of the same jewel, so they feel rich, not flat */
.bg-midnight, .band-midnight { background: radial-gradient(120% 90% at 85% 0%, #1D2A4C 0%, var(--midnight) 62%); }
.bg-evergreen, .band-evergreen { background: radial-gradient(120% 90% at 15% 0%, #1F4440 0%, var(--evergreen) 62%); }
.bg-plum, .band-plum { background: radial-gradient(120% 90% at 85% 0%, #3A2548 0%, var(--plum) 62%); }
/* The brand's light paper: offers, steps and the founder read like a Techedge document (its light mode) */
.bg-parchment { background: var(--parchment); color: var(--ink); --line: rgba(22, 23, 26, .12); }
.bg-parchment :is(.eyebrow, em, .punch span, .tile svg, .tile .big, .offer .why, .offer .more, .offer .saved, a:not(.btn), .founder cite) { color: var(--gold-deep); }
.bg-parchment :is(.sec-head p:not(.eyebrow), .quiet, .tile p, .step p, .offer .for, .offer .price small, .faq details > div, .terms, .safe) { color: var(--slate); }
.bg-parchment :is(.tile, .offer, .card) { background: var(--cream); border-color: rgba(22, 23, 26, .1); box-shadow: 0 1px 0 rgba(22, 23, 26, .04), 0 18px 40px -28px rgba(22, 23, 26, .35); }
.bg-parchment .step::before { color: var(--gold-deep); background: var(--cream); }
.bg-parchment .bul li::before { background-color: rgba(122, 86, 40, .12); }
.bg-parchment .btn { color: var(--ink); }
.center { text-align: center; }
.center .sec-head { margin-inline: auto; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head p:not(.eyebrow) { margin-top: 16px; color: var(--stone); font-size: 19px; }


/* Steps */
.steps { display: grid; gap: 20px; counter-reset: s; }
.step { counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border: 1px solid var(--gold); border-radius: 10px; color: var(--gold-text); font: 600 18px/1 var(--body); }
.step p { margin-top: 10px; color: var(--stone); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Footer */
.site-foot { padding: 64px 0 48px; border-top: 1px solid var(--line); color: var(--stone); font-size: 15px; }
.site-foot .wrap { display: grid; gap: 28px; }
.site-foot .logo img { height: 30px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-foot nav a { display: inline-flex; align-items: center; min-height: 48px; color: var(--cream); text-decoration: none; }
.site-foot nav a:hover { color: var(--gold-text); }
@media (min-width: 900px) { .site-foot .wrap { grid-template-columns: auto 1fr auto; align-items: center; } .site-foot nav { justify-content: center; } }
.copied { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 10px; background: var(--cream); color: var(--onyx); font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.copied.on { opacity: 1; transform: translate(-50%, 0); }

/* Reveals: opacity and a short rise only, so nothing shifts the layout */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.noscript .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* Skim blocks */
.tiles { display: grid; gap: 16px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiles.four { grid-template-columns: repeat(4, 1fr); } .tiles.three { grid-template-columns: repeat(3, 1fr); } }
.tile { padding: 26px 24px; border-radius: var(--r-card); background: rgba(250, 247, 240, .05); border: 1px solid var(--line); }
.tile svg { width: 28px; height: 28px; color: var(--gold-text); margin-bottom: 16px; }
.tile .big { display: block; font: 600 40px/1 var(--display); color: var(--gold-text); margin-bottom: 12px; }
.tile h3 { font: 600 19px/1.3 var(--body); }
.tile p { margin-top: 6px; color: var(--stone); font-size: 16px; }
.bul { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 24px; }
.bul li { display: flex; gap: 12px; align-items: flex-start; }
.bul li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 6px; background: rgba(168, 120, 66, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9995A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.punch { font: 600 clamp(30px, 3.6vw, 52px)/1.12 var(--display); max-width: 22ch; }
.punch span { color: var(--gold-text); }
.offer .more { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0 12px; color: var(--gold-text); font-size: 15px; font-weight: 600; }

/* Monthly / yearly switch */
.bill { display: inline-flex; align-items: center; gap: 4px; padding: 4px; margin-bottom: 28px; border-radius: 10px; background: rgba(250, 247, 240, .07); border: 1px solid var(--line); }
.bill button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 7px; background: none; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--stone); white-space: nowrap; }
.bill button[aria-pressed=true] { background: var(--gold); color: var(--onyx); }
.bill .save { margin-left: 6px; font: 500 11px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; }
.offer .saved { min-height: 22px; margin-top: 2px; font-size: 15px; color: var(--gold-text); }

/* Page changes cross-fade; the header and footer stay put while only the page between them changes. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
.site-head, .top { view-transition-name: site-head; }
.site-foot { view-transition-name: site-foot; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
html, body { overflow-anchor: none; }
