:root {
  --ink: #07111f;
  --ink-soft: #12243a;
  --navy: #102a48;
  --green: #215f40;
  --lime: #b7f34a;
  --lime-strong: #9ee62b;
  --paper: #ffffff;
  --mist: #f1f5f9;
  --mist-blue: #eaf1f7;
  --line: #d9e2ea;
  --muted: #5f7087;
  --max: 1180px;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid rgba(183, 243, 74, 0.8);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 226, 234, 0.72);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner,
.footer-inner,
.legal-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.wordmark-mark {
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(7, 17, 31, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 3px;
  border-radius: 2px;
  background: var(--lime-strong);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { right: 0; }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.menu-button svg { width: 22px; height: 22px; }

.hero {
  min-height: 700px;
  display: grid;
  align-items: center;
  background: linear-gradient(110deg, #fff 0%, #fff 46%, #f2f6fa 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  padding-block: 72px 88px;
}

.hero-copy h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(54px, 6.1vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy p {
  max-width: 590px;
  margin: 34px 0 38px;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.42;
  letter-spacing: -0.025em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(158, 230, 43, 0.24);
}

.button-primary:hover { background: var(--lime-strong); }

.button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.arrow-icon { width: 18px; height: 18px; transition: transform 180ms ease; }
.button:hover .arrow-icon,
.text-link:hover .arrow-icon { transform: translateX(4px); }

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.phone-stage::before {
  content: "";
  position: absolute;
  width: min(44vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #eaf0f5;
  filter: blur(1px);
}

.phone {
  position: relative;
  z-index: 1;
  width: min(360px, 72vw);
  padding: 11px;
  border: 4px solid #1b2028;
  border-radius: 52px;
  background: #090d13;
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
  transition: transform 280ms ease;
}

.phone:hover { transform: rotate(0deg) translateY(-6px); }

.phone-screen {
  position: relative;
  aspect-ratio: 9 / 18.9;
  border-radius: 39px;
  overflow: hidden;
  background: var(--mist);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.product-band {
  background: var(--mist);
  border-block: 1px solid #e3eaf0;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(340px, 1.22fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  padding-block: 88px;
}

.app-icon-frame {
  width: min(100%, 350px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.app-icon-frame img {
  width: 100%;
  border-radius: 28%;
  box-shadow: 0 25px 60px rgba(7, 17, 31, 0.17);
}

.section-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-copy h2,
.principles h2,
.page-hero h1,
.legal-main h1,
.support-main h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.product-copy h3 {
  margin: 16px 0 18px;
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: -0.035em;
}

.product-copy p {
  max-width: 610px;
  color: #374a61;
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--green);
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.principles { padding-block: 92px; }

.principles-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.principle {
  min-height: 220px;
  padding: 6px 30px 0;
  border-left: 1px solid var(--line);
}

.principle:first-child { padding-left: 0; border-left: 0; }
.principle:last-child { padding-right: 0; }

.principle svg {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--green);
}

.principle h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.025em; }
.principle p { margin: 0; color: var(--muted); font-size: 15px; }

.site-footer {
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  min-height: 210px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  padding-block: 50px;
}

.footer-brand { max-width: 360px; }
.footer-brand strong { display: block; margin-bottom: 8px; font-size: 22px; }
.footer-brand p { margin: 0 0 22px; color: #aebbc9; }
.footer-brand small { color: #8fa0b2; }

.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 34px; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }

.page-hero {
  padding-block: 84px 66px;
  background: var(--mist);
  border-bottom: 1px solid #e0e8ef;
}

.page-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.app-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 800;
}

.app-identity img { width: 44px; height: 44px; border-radius: 13px; }

.product-page-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: clamp(46px, 7vw, 96px);
  align-items: start;
  padding-block: 80px 94px;
}

.product-page-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.product-page-copy p { color: #3d5067; font-size: 18px; }

.feature-list {
  margin: 32px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list svg { width: 22px; height: 22px; margin-top: 2px; color: var(--green); }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.screenshot-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--mist);
}

.screenshot-pair img {
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(7, 17, 31, 0.11);
}

.product-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-visual::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -110px;
  width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.12;
}

.product-visual-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
}

.product-visual-top img {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.product-visual-top span,
.product-visual-top strong { display: block; }
.product-visual-top span { color: var(--lime); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.product-visual-top strong { margin-top: 3px; font-size: clamp(28px, 4vw, 44px); line-height: 1.06; letter-spacing: -0.05em; }
.product-visual > p { position: relative; z-index: 1; max-width: 580px; margin: 0; color: #c8d3df; font-size: 21px; }

.product-stat-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-stat-row span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #dbe4ed;
  font-size: 13px;
  font-weight: 700;
}

.product-data-preview {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.product-data-preview strong { color: var(--lime); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.product-data-preview ul { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.product-data-preview li { position: relative; padding-left: 18px; color: #dbe4ed; font-size: 14px; }
.product-data-preview li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

.directory-page {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  padding-block: 82px 110px;
}

.directory-heading { max-width: 760px; margin-bottom: 60px; }
.directory-heading h1 { margin: 0; font-size: clamp(52px, 7vw, 86px); line-height: 1; letter-spacing: -0.065em; }
.directory-heading p { margin: 24px 0 0; color: var(--muted); font-size: 20px; }

.app-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.app-directory-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
  border-bottom: 1px solid var(--line);
}

.app-directory-card:nth-child(odd) { padding-left: 0; padding-right: 42px; border-right: 1px solid var(--line); }
.app-directory-card:nth-child(even) { padding-right: 0; padding-left: 42px; }

.app-directory-main {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-decoration: none;
}

.app-directory-main img {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.12);
}

.app-directory-main span { min-width: 0; }
.app-directory-main strong,
.app-directory-main small,
.app-directory-main em { display: block; }
.app-directory-main strong { font-size: 22px; line-height: 1.15; letter-spacing: -0.035em; }
.app-directory-main small { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.app-directory-main em { margin-top: 10px; color: var(--green); font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.legal-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 780px);
  justify-content: center;
  gap: clamp(50px, 8vw, 110px);
  padding-block: 72px 100px;
}

.legal-toc {
  position: sticky;
  top: 110px;
  align-self: start;
}

.legal-toc strong {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  margin: 0;
  padding: 9px 0 9px 14px;
  border-left: 2px solid transparent;
  color: #415269;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a.is-active { border-left-color: var(--lime-strong); color: var(--ink); }

.legal-main h1,
.support-main h1 { font-size: clamp(44px, 6vw, 70px); }

.lead {
  margin: 24px 0 14px;
  color: #50637b;
  font-size: 20px;
  line-height: 1.5;
}

.meta { margin: 0 0 52px; color: #6b7b90; font-size: 14px; }

.legal-main section,
.support-main section { scroll-margin-top: 110px; margin-top: 42px; }

.legal-main h2,
.support-main h2 {
  margin: 0 0 12px;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.legal-main h3,
.support-main h3 { margin: 24px 0 8px; font-size: 19px; letter-spacing: -0.02em; }

.legal-main p,
.legal-main li,
.support-main p,
.support-main li { color: #34485f; }

.legal-main ul,
.support-main ul { padding-left: 22px; }

.data-table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th { background: var(--mist); color: var(--ink); }

.notice {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 5px solid var(--lime-strong);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--mist);
  color: #2f435a;
}

.contact-block {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
}

.contact-block p { color: #c5d0dc; }
.contact-block a { color: var(--lime); font-weight: 800; }

.support-main {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
  padding-block: 74px 100px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 50px;
}

.support-item {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.support-item h2 { margin-top: 0; font-size: 22px; }
.support-item p { margin-bottom: 0; }

.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 21px 42px 21px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 780;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 16px;
  color: var(--green);
  font-size: 26px;
  font-weight: 500;
}

.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 48px 22px 0; }

.simple-index {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
  padding-block: 90px 110px;
}

.simple-index h1 { font-size: clamp(48px, 6vw, 76px); letter-spacing: -0.055em; }
.simple-index p { max-width: 650px; color: var(--muted); font-size: 20px; }
.directory-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding: 25px 0;
  border-block: 1px solid var(--line);
}
.directory-row img { width: 58px; border-radius: 16px; }
.directory-main { display: flex; align-items: center; gap: 18px; }
.directory-main strong { display: block; font-size: 20px; }
.directory-main span { color: var(--muted); }

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 50px 20px;
  text-align: center;
}
.error-page h1 { margin: 0; font-size: clamp(72px, 14vw, 150px); letter-spacing: -0.08em; }
.error-page p { color: var(--muted); font-size: 20px; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid,
  .product-grid,
  .principles-grid,
  .product-page-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 62px; }
  .hero-copy { text-align: center; }
  .hero-copy h1,
  .hero-copy p { margin-inline: auto; }
  .phone-stage { min-height: 500px; }
  .product-grid { justify-items: center; }
  .product-copy { text-align: center; }
  .principle-list { grid-template-columns: 1fr; }
  .principle,
  .principle:first-child,
  .principle:last-child { min-height: 0; padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .legal-shell { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
  .app-directory-grid { grid-template-columns: 1fr; }
  .app-directory-card,
  .app-directory-card:nth-child(odd),
  .app-directory-card:nth-child(even) { padding: 28px 0; border-right: 0; }
}

@media (max-width: 680px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .legal-shell,
  .support-main,
  .simple-index,
  .directory-page { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 68px; }
  .menu-button { display: grid; place-items: center; }
  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav a::after { display: none; }
  .hero-grid { gap: 30px; padding-block: 52px 64px; }
  .hero-copy h1 { font-size: clamp(46px, 15vw, 66px); }
  .hero-copy p { margin-block: 26px 30px; font-size: 19px; }
  .phone-stage { min-height: 430px; }
  .phone-stage::before { width: 90vw; }
  .phone { width: min(300px, 76vw); border-radius: 44px; }
  .phone-screen { border-radius: 33px; }
  .product-grid,
  .principles,
  .page-hero,
  .product-page-grid,
  .legal-shell,
  .support-main { padding-block: 58px; }
  .app-icon-frame { width: min(260px, 75vw); }
  .product-copy h2,
  .page-hero h1,
  .legal-main h1,
  .support-main h1 { font-size: 43px; }
  .screenshot-pair { padding: 14px; gap: 10px; border-radius: 24px; }
  .screenshot-pair img { border-radius: 15px; }
  .product-visual { min-height: 480px; padding: 26px; border-radius: 26px; }
  .product-visual-top { align-items: flex-start; gap: 16px; }
  .product-visual-top img { width: 84px; height: 84px; border-radius: 22px; }
  .product-visual-top span { max-width: 200px; line-height: 1.35; }
  .directory-page { padding-block: 58px 80px; }
  .directory-heading { margin-bottom: 34px; }
  .directory-heading p { font-size: 18px; }
  .app-directory-main { gap: 16px; }
  .app-directory-main img { width: 62px; height: 62px; border-radius: 17px; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; gap: 22px; }
  .directory-row { align-items: flex-start; flex-direction: column; }
  .data-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
