@font-face {
  font-family: Oswald;
  src: url("/static/fonts/oswald-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Oswald;
  src: url("/static/fonts/oswald-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2191, U+2193, U+2212;
}
@font-face {
  font-family: "Noto Sans";
  src: url("/static/fonts/noto-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Noto Sans";
  src: url("/static/fonts/noto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2191, U+2193, U+2212;
}

:root {
  color-scheme: dark;
  --bg: #0b0714;
  --surface: #140e24;
  --raised: #1e1635;
  --text: #f6f4ff;
  --muted: #c6bfd7;
  --line: #453958;
  --pink: #ff2e7e;
  --warm: #ff9a2e;
  --cyan: #00e5ff;
  --error: #ffabc5;
  --success: #9af4d3;
  --sunset: linear-gradient(110deg, var(--pink), var(--warm));
  --display: Oswald, "Arial Narrow", "Noto Sans", sans-serif;
  --body: "Noto Sans", system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(3rem, 7vw, 6rem);
  --anchor-offset: 6rem;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  scroll-padding-top: var(--anchor-offset);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; }
h1, h2 { font-family: var(--display); font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.3vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.25rem; }
a { color: var(--cyan); text-underline-offset: .21em; }
a:hover { color: var(--text); }
input, button { font: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
::selection { color: var(--bg); background-color: var(--cyan); }

.wrap { width: min(100% - var(--gutter) * 2, 75rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  inset: .75rem auto auto .75rem;
  z-index: 4;
  padding: .6rem 1rem;
  background: var(--bg);
}

.topbar {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar-inner, .top-nav, .top-actions { display: flex; align-items: center; }
.topbar-inner { justify-content: space-between; gap: .75rem 1.25rem; min-height: 4.5rem; }
.wordmark {
  color: var(--text);
  font: 700 1.25rem/1.1 var(--display);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--warm); font-size: .75em; margin-inline-start: .2em; }
.wordmark:hover { color: var(--warm); }
.top-nav, .top-actions { gap: clamp(.8rem, 2vw, 1.65rem); }
.top-nav a, .top-actions > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text);
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
}
.top-actions > a:first-child { gap: .25em; }
.top-nav a:hover, .top-actions > a:first-child:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  min-height: 2.875rem;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  color: var(--text);
  font-size: .94rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button-sunset, .plan-pro-link[data-payment-mode="live"] { background: var(--sunset); color: var(--bg); }
.button-sunset:hover, .plan-pro-link[data-payment-mode="live"]:hover { background: var(--warm); color: var(--bg); }
.button-outline, .plan-pro-link[data-payment-mode="paused"] { background: var(--surface); border-color: #726583; }
.button-outline:hover, .plan-pro-link[data-payment-mode="paused"]:hover { background: var(--raised); color: var(--text); border-color: var(--muted); }
.button:active { box-shadow: inset 0 0 0 2px currentColor; }
.button:disabled { cursor: default; background: var(--raised); border-color: var(--line); color: var(--muted); }
.button span[aria-hidden] { flex: 0 0 auto; }

.hero {
  border-bottom: 1px solid var(--line);
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-block: clamp(2.5rem, 5vw, 4.75rem);
}
.hero h1 { line-height: 1.04; text-wrap: balance; }
.hero h1 span { color: var(--warm); white-space: nowrap; }
.hero-lead {
  max-width: 45ch;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.mode-note { color: var(--muted); }
.hero .mode-note { margin-top: .8rem; font-size: .875rem; }
.mode-note[data-payment-mode="live"], .mode-note:empty { display: none; }

.hero-showcase {
  position: relative;
  min-height: 27rem;
  height: clamp(27rem, 40vw, 34rem);
  isolation: isolate;
  overflow: hidden;
  border-block-end: 1px solid var(--line);
}
.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 14% 0 5% 7%;
  z-index: -1;
  background: var(--raised);
  border-block-start: 1px solid var(--pink);
  transform: skewY(-9deg);
  transform-origin: right center;
}
.device {
  position: absolute;
  width: min(47%, 16rem);
  height: 90%;
  overflow: hidden;
  border: 5px solid var(--bg);
  border-radius: 1.2rem 1.2rem 0 0;
  box-shadow: 0 0 0 1px var(--line);
  background: var(--surface);
}
.device img { width: 100%; height: auto; }
.device-front { inset: auto auto -.5rem 8%; }
.device-back { inset: 2% 5% auto auto; height: 85%; border-radius: 1.2rem; }

.section { padding-block: var(--section); }
.section h2 { margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.week-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem clamp(1.25rem, 3vw, 2.75rem);
  margin: 0;
  padding: 1.5rem 0 0 1.4em;
  border-top: 1px solid var(--line);
}
.week-steps li { padding-left: .35rem; }
.week-steps li::marker { color: var(--warm); font-weight: 800; }
.week-steps p { margin-top: .55rem; color: var(--muted); }

.author { border-block-start: 1px solid var(--line); }
.author-layout {
  display: grid;
  grid-template:
    "story transformation" auto
    "portraits transformation" 1fr
    / minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}
.author-story { grid-area: story; }
.author h2 {
  max-width: 20ch;
  margin-bottom: 1rem;
  border-block-start: 3px solid var(--pink);
  padding-top: .8rem;
  text-wrap: balance;
}
.author-story p + p { margin-top: .65rem; }
.author-story p:not(.author-byline), .author figcaption { color: var(--muted); }
.author-byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .75rem; }
.author-byline strong { color: var(--warm); font: 700 1.5rem/1.2 var(--display); }
.author-byline a { display: inline-flex; align-items: center; min-height: 1.5rem; }
.author-transformation { grid-area: transformation; }
.author-portraits {
  grid-area: portraits;
  display: grid;
  grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr);
  gap: .75rem;
  width: min(100%, 29rem);
}
.author img { width: 100%; height: auto; }
.author figcaption { margin-top: .4rem; font-size: .875rem; }

.features { background: var(--surface); border-block: 1px solid var(--line); }
.feature-list { border-block-start: 1px solid var(--line); }
.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem clamp(1.25rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(1.75rem, 4vw, 3.25rem);
  border-block-end: 1px solid var(--line);
}
.feature:nth-child(even) .feature-visual { order: -1; }
.feature h3 { max-width: 24ch; font: 700 clamp(1.65rem, 3.4vw, 2.55rem)/1.13 var(--display); }
.feature p { max-width: 50ch; margin-top: .75rem; color: var(--muted); }
.feature-visual {
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: 16rem;
  height: clamp(17rem, 30vw, 23rem);
  background: var(--bg);
  border-block-end: 2px solid var(--line);
  padding: .85rem 1rem 0;
  overflow: hidden;
}
.feature-visual img {
  width: min(100%, 16.5rem);
  height: 100%;
  object-fit: cover;
  object-position: center top;
  outline: 1px solid var(--line);
  border-radius: .75rem .75rem 0 0;
}
.feature-visual .shot-barcode { object-position: center 86%; }
.feature-visual .shot-progress { object-position: center 16%; }
.feature-visual .shot-sos { object-position: center bottom; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  box-shadow: inset 0 1px var(--line);
  background: var(--surface);
}
.plan-pro { box-shadow: inset 0 3px var(--pink); background: var(--raised); }
.plan h3 { font-size: 1.125rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .65rem; margin-top: .5rem; }
.price strong {
  font: 700 clamp(2.6rem, 5.5vw, 4rem)/1.15 var(--display);
  white-space: nowrap;
}
.price span { color: var(--muted); }
.plan ul { margin-block: 1.2rem 1.6rem; padding-left: 1.2em; }
.plan li + li { margin-top: .3rem; }
.plan li::marker { color: var(--warm); }
.plan .button { margin-top: auto; }
.pricing-terms { max-width: 70ch; margin-top: 1.2rem; color: var(--muted); font-size: .94rem; }
.pricing-terms p + p { margin-top: .35rem; }

.faq { border-top: 1px solid var(--line); }
.faq-list { max-width: 56rem; border-top: 1px solid var(--line); }
.faq-list details { padding-inline: .15rem; border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 2.75rem; padding: 1rem .35rem; font-weight: 650; cursor: pointer; }
.faq-list summary::marker { color: var(--warm); }
.faq-list summary:hover { color: var(--warm); }
.faq-list details > :not(summary) { margin: 0 .35rem 1rem; color: var(--muted); }

.site-footer { padding-block: 2.25rem; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.35rem 2rem; }
.footer-grid address { margin-top: .75rem; color: var(--muted); font-style: normal; font-size: .875rem; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; font-size: .875rem; }
.footer-grid nav a { min-height: 1.65rem; overflow-wrap: anywhere; }
.reference-links { display: flex; gap: .9rem; flex-wrap: wrap; }

@media (max-width: 54rem) {
  :root { --anchor-offset: 7.5rem; }
  .topbar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 .5rem; padding-top: .35rem; }
  .top-nav { grid-row: 2; grid-column: 1 / -1; gap: 1.4rem; }
  .top-nav a { min-height: 2.4rem; }
  .top-actions { justify-content: flex-end; gap: .65rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-showcase { width: min(100%, 35rem); min-height: 0; height: clamp(18rem, 66vw, 31rem); }
}
@media (max-width: 40rem) {
  .week-steps, .feature, .plans, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .author-layout { grid-template: "story" "transformation" "portraits" / minmax(0, 1fr); }
  .author-portraits { width: 100%; }
  .feature:nth-child(even) .feature-visual { order: 0; }
  .feature-visual { height: clamp(16rem, 70vw, 21rem); }
  .hero-actions .button { width: 100%; }
}
@media (max-width: 27rem) {
  .topbar .wordmark { font-size: 1.08rem; }
  .top-actions > a:first-child { font-size: .78rem; }
  .top-actions > a:first-child span { display: none; }
  .top-actions .button { padding-inline: .45rem; font-size: .78rem; }
  .top-nav { justify-content: space-between; }
}
@media (max-height: 32rem) {
  :root { --anchor-offset: 1rem; }
  .topbar { position: static; }
}
@media (forced-colors: active) {
  .button { border: 1px solid ButtonText; }
  :focus-visible { outline-color: Highlight; }
}
