:root {
  color-scheme: light;
  --ink: #0b0e14;
  --muted: #657080;
  --paper: #ffffff;
  --soft: #f4f5f1;
  --line: #dfe3e7;
  --night: #07090d;
  --night-soft: #11151d;
  --yellow: #ffd54a;
  --yellow-strong: #ffc62f;
  --mint: #18c7b1;
  --purple: #7454f5;
  --radar: #32d7f0;
  --radius: 18px;
  --max: 1180px;
  --shadow: 0 26px 70px rgba(7, 9, 13, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 10px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(7, 9, 13, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark {
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
.brand-wordmark { width: 162px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
  content: "";
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  min-height: 690px;
  overflow: hidden;
  background: var(--night);
  color: #fff;
}
.home-hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to right, #000, transparent 78%);
  content: "";
}
.home-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--yellow) 0 50%, var(--mint) 50%);
  content: "";
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 76px 40px 88px max(24px, calc((100vw - var(--max)) / 2));
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(56px, 7.4vw, 112px);
  line-height: .88;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.hero-copy h1 span { color: var(--yellow); }
.hero-copy > p {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.74);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
}
.hero-actions, .product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: #17120a; box-shadow: 5px 5px 0 var(--mint); }
.button-primary:hover { background: var(--yellow-strong); }
.button-ghost { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.button-ghost:hover { border-color: rgba(255,255,255,.48); }
.button-dark { background: var(--night); color: #fff; }
.button-light { background: #fff; color: #061122; }

.hero-visual { position: relative; align-self: stretch; min-height: 690px; }
.hero-monkey {
  position: absolute;
  inset: 0 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}
.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, var(--night), transparent 28%);
  content: "";
}
.hero-product {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 244px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  background: rgba(8,11,18,.78);
  box-shadow: 0 16px 40px rgba(0,0,0,.36);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(18px);
  transition: transform .18s ease, border-color .18s ease;
}
.hero-product:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.5); }
.hero-product img { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 13px; object-fit: cover; }
.hero-product span { display: grid; min-width: 0; }
.hero-product strong { font-size: 16px; }
.hero-product small { color: rgba(255,255,255,.65); font-size: 12px; }
.hero-product-fix { right: 32px; bottom: 118px; }
.hero-product-radar { right: 210px; bottom: 28px; }

.product-intro, .more-apps { padding: 96px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading { max-width: 790px; margin-bottom: 48px; }
.section-label {
  margin: 0 0 12px;
  color: #745600;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-heading h2, .studio-strip h2, .support-callout h2, .page-hero h1, .product-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
}
.section-heading > p:last-child { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: 19px; }

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  align-items: center;
  min-height: 620px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 2px 0 rgba(7,9,13,.14);
}
.product-copy { padding: clamp(34px, 6vw, 74px); }
.product-title-row { display: flex; align-items: center; gap: 18px; }
.app-icon { width: 72px; height: 72px; flex: 0 0 auto; border-radius: 17px; object-fit: cover; box-shadow: 0 10px 26px rgba(0,0,0,.14); }
.product-title-row h3 { margin: 4px 0 0; font-size: clamp(28px, 3.2vw, 48px); line-height: 1; letter-spacing: -.035em; }
.product-platform { margin: 0; color: #067568; font-size: 12px; font-weight: 850; letter-spacing: .035em; }
.product-lede { max-width: 690px; margin: 28px 0 0; font-size: clamp(19px, 2vw, 25px); line-height: 1.4; }
.feature-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 25px; font-weight: 700; }
.feature-list li::before { position: absolute; left: 0; color: var(--purple); content: "◆"; font-size: 12px; top: 4px; }
.feature-fixcalc { background: linear-gradient(135deg, #f8f5ff, #f5e9ff 52%, #ffe6d8); }
.feature-radar { background: radial-gradient(circle at 80% 20%, rgba(42,215,240,.24), transparent 28%), linear-gradient(140deg, #071324, #061d36 55%, #05291f); color: #fff; }
.feature-radar .product-platform { color: var(--radar); }
.feature-radar .feature-list li::before { color: var(--radar); }
.phone-media { position: relative; align-self: stretch; display: grid; place-items: end center; overflow: hidden; min-height: 620px; }
.phone-media::before {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
  content: "";
  filter: blur(2px);
}
.phone-media img {
  position: relative;
  z-index: 2;
  width: min(72%, 330px);
  max-height: 570px;
  object-fit: cover;
  object-position: top;
  border: 9px solid #10141c;
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
  box-shadow: var(--shadow);
}
.fixcalc-media { background: linear-gradient(145deg, rgba(116,84,245,.18), rgba(255,101,143,.18)); }
.radar-media { background: radial-gradient(circle at center, rgba(47,218,239,.26), transparent 62%); }
.radar-media::before { background: rgba(30,215,227,.12); }
.store-badge { display: inline-flex; }
.store-badge img { width: 142px; height: auto; }

.more-apps { background: #fff; }
.section-heading-compact { margin-bottom: 36px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-card { min-height: 330px; padding: 28px; border: 1px solid var(--line); background: #fff; box-shadow: 5px 5px 0 #e4e6e1; }
.app-card h3 { margin: 20px 0 10px; font-size: 28px; line-height: 1; letter-spacing: -.03em; }
.app-card > p:not(.product-platform) { color: var(--muted); }
.text-link { display: inline-flex; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 850; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.studio-strip, .support-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 88px max(24px, calc((100vw - var(--max)) / 2));
}
.studio-strip > p { max-width: 520px; color: var(--muted); font-size: 20px; }
.support-callout { grid-template-columns: 1fr auto; background: #0a261d; color: #fff; }
.support-callout h2 { max-width: 850px; font-size: clamp(36px, 5vw, 66px); }
.support-callout .section-label { color: var(--yellow); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--night);
  color: rgba(255,255,255,.55);
  font-size: 12px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Product pages */
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  align-items: center;
  min-height: 670px;
  padding: 70px max(24px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
}
.product-hero-copy { position: relative; z-index: 2; max-width: 720px; }
.product-identity { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.product-identity .app-icon { width: 88px; height: 88px; border-radius: 21px; }
.product-identity p { margin: 0 0 4px; font-size: 13px; font-weight: 850; }
.product-identity strong { font-size: 20px; }
.product-hero h1 { font-size: clamp(50px, 7vw, 92px); }
.product-hero-copy > p { max-width: 680px; margin: 24px 0 0; font-size: clamp(19px, 2vw, 25px); }
.product-hero-art { position: relative; display: grid; place-items: end center; align-self: stretch; min-height: 560px; }
.product-hero-art img { position: relative; z-index: 2; width: min(72%, 340px); max-height: 590px; object-fit: cover; object-position: top; border: 9px solid #11151d; border-bottom: 0; border-radius: 40px 40px 0 0; box-shadow: var(--shadow); }
.fixcalc-hero { background: linear-gradient(135deg, #f8f4ff, #ffe7f0 52%, #ffe8d3); }
.radar-hero { background: radial-gradient(circle at 78% 42%, rgba(52,219,239,.22), transparent 28%), linear-gradient(140deg, #061122, #041f34 58%, #04261f); color: #fff; }
.product-facts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: -1px auto 0; border: 1px solid var(--line); background: #fff; }
.product-facts div { padding: 22px 25px; border-right: 1px solid var(--line); }
.product-facts div:last-child { border-right: 0; }
.product-facts strong, .product-facts span { display: block; }
.product-facts strong { font-size: 15px; }
.product-facts span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.product-detail { max-width: var(--max); margin: 0 auto; padding: 94px 24px; }
.detail-heading { max-width: 760px; }
.detail-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.04em; }
.detail-heading > p { margin: 18px 0 0; color: var(--muted); font-size: 19px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
.benefit { padding: 28px; border: 1px solid var(--line); background: #fff; }
.benefit-number { color: var(--purple); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.benefit h3 { margin: 24px 0 10px; font-size: 25px; line-height: 1.05; }
.benefit p { margin: 0; color: var(--muted); }
.screen-gallery { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 18px; margin-top: 50px; }
.screen-gallery figure { margin: 0; overflow: hidden; border-radius: 18px; background: #10141c; box-shadow: var(--shadow); }
.screen-gallery img { width: 100%; height: auto; }
.screen-gallery figcaption { padding: 14px 16px; color: rgba(255,255,255,.7); font-size: 12px; }
.product-note { margin-top: 42px; padding: 22px 24px; border-left: 4px solid var(--yellow); background: #fff; color: var(--muted); font-size: 14px; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: var(--max); margin: 0 auto 96px; padding: 38px; background: var(--night); color: #fff; }
.final-cta h2 { margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1; }
.final-cta p { margin: 10px 0 0; color: rgba(255,255,255,.65); }

/* Support, legal and 404 pages */
.subpage { position: relative; min-height: calc(100vh - 148px); padding: 74px max(24px, calc((100vw - var(--max)) / 2)) 96px; }
.page-hero { max-width: 850px; margin-bottom: 48px; }
.page-hero > p:not(.section-label) { max-width: 690px; margin: 22px 0 0; color: var(--muted); font-size: 19px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 22px; }
.support-form, .support-aside { padding: 30px; border: 1px solid var(--line); background: #fff; }
.support-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.support-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
.support-form .full { grid-column: 1 / -1; }
.support-form input, .support-form select, .support-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cfd5dc;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}
.support-form textarea { resize: vertical; }
.support-form input:focus, .support-form select:focus, .support-form textarea:focus { outline: 3px solid rgba(24,199,177,.22); border-color: var(--mint); }
.support-form .button { justify-self: start; }
.support-form .button:disabled { cursor: wait; opacity: .65; transform: none; }
.support-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.turnstile-wrap { min-height: 65px; }
.support-privacy { margin: 0; color: var(--muted); font-size: 13px; }
.form-status { min-height: 22px; margin: 0; font-size: 14px; font-weight: 750; }
.form-status:empty { min-height: 0; }
.form-status[data-state="pending"] { color: var(--muted); }
.form-status[data-state="success"] { color: #08755f; }
.form-status[data-state="error"] { color: #a32323; }
.support-aside h2 { margin: 0; font-size: 28px; }
.support-aside ul { margin: 20px 0 0; padding-left: 20px; color: var(--muted); }
.support-aside li + li { margin-top: 12px; }
.support-aside > p { margin: 24px 0 0; color: var(--muted); }
.legal-intro { max-width: 790px; margin-bottom: 38px; color: var(--muted); font-size: 18px; }
.legal-stack { display: grid; gap: 0; max-width: 920px; border-top: 1px solid var(--line); }
.legal-block { padding: 30px 0; border-bottom: 1px solid var(--line); }
.legal-block h2 { margin: 0 0 10px; font-size: 26px; }
.legal-block p { margin: 0; color: var(--muted); }
.legal-block a { font-weight: 750; }
.not-found { display: grid; place-items: center; min-height: calc(100vh - 148px); padding: 80px 24px; text-align: center; }
.not-found h1 { margin: 0; font-size: clamp(90px, 20vw, 220px); line-height: .8; letter-spacing: -.08em; }
.not-found h2 { margin: 28px 0 0; font-size: 34px; }
.not-found p { max-width: 520px; color: var(--muted); }

@media (max-width: 980px) {
  .home-hero, .product-feature, .product-hero { grid-template-columns: 1fr; }
  .home-hero { min-height: auto; }
  .hero-copy { padding: 74px 24px 32px; }
  .hero-visual { min-height: 560px; }
  .hero-visual::before { background: linear-gradient(180deg, var(--night), transparent 24%); }
  .hero-monkey { object-position: center 30%; }
  .product-feature { min-height: auto; }
  .phone-media { min-height: 540px; }
  .product-hero { padding-bottom: 0; }
  .product-hero-art { min-height: 520px; }
  .product-facts { grid-template-columns: repeat(2, 1fr); margin-inline: 24px; }
  .product-facts div:nth-child(2) { border-right: 0; }
  .product-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .benefit-grid { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { position: relative; align-items: flex-start; flex-direction: column; padding: 12px 18px 15px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-wordmark { width: 138px; }
  .nav { width: 100%; gap: 0; justify-content: space-between; overflow-x: auto; }
  .nav a { padding: 7px 0; font-size: 12px; white-space: nowrap; }
  .nav a[aria-current="page"]::after { bottom: 1px; }
  .hero-copy h1 { font-size: clamp(50px, 15vw, 74px); }
  .hero-visual { min-height: 470px; }
  .hero-product { width: 218px; padding: 10px; }
  .hero-product img { width: 48px; height: 48px; }
  .hero-product-fix { right: 14px; bottom: 98px; }
  .hero-product-radar { right: auto; left: 14px; bottom: 22px; }
  .product-intro, .more-apps { padding: 72px 18px; }
  .product-copy { padding: 30px 22px; }
  .product-title-row { align-items: flex-start; }
  .product-title-row .app-icon { width: 58px; height: 58px; border-radius: 14px; }
  .product-title-row h3 { font-size: 28px; }
  .phone-media { min-height: 460px; }
  .phone-media img { width: 70%; max-height: 440px; }
  .app-grid, .studio-strip, .support-callout { grid-template-columns: 1fr; }
  .app-card { min-height: 0; }
  .studio-strip, .support-callout { gap: 26px; padding: 70px 18px; }
  .support-callout .button { justify-self: start; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .product-hero { padding: 56px 18px 0; }
  .product-hero h1 { font-size: clamp(48px, 14vw, 72px); }
  .product-identity .app-icon { width: 70px; height: 70px; }
  .product-hero-art { min-height: 460px; }
  .product-hero-art img { max-height: 450px; }
  .product-facts { grid-template-columns: 1fr; margin: 0; border-inline: 0; }
  .product-facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .product-facts div:last-child { border-bottom: 0; }
  .product-detail { padding: 72px 18px; }
  .screen-gallery { grid-template-columns: 1fr; gap: 28px; }
  .final-cta { align-items: flex-start; flex-direction: column; margin: 0 18px 72px; padding: 28px; }
  .subpage { padding: 60px 18px 72px; }
  .support-form { grid-template-columns: 1fr; padding: 22px; }
  .support-form .full { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
