/*
Theme Name: CredEasy Marketing
Description: The CredEasy marketing site and legal pages.
Version: 1.3.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: credeasy-marketing
*/
:root {
      color-scheme: light;
      --page: #f6f5ef;
      --surface: #fffefa;
      --surface-muted: #eeeee5;
      --ink: #18241b;
      --ink-soft: #59665c;
      --line: #d9ddd2;
      --brand: #2fa87a;
      --brand-dark: #155e3b;
      --brand-quiet: #e1eee3;
      --button-text: #fff;
      --photo-overlay: linear-gradient(90deg, rgb(15 30 19 / 78%) 0%, rgb(15 30 19 / 49%) 47%, rgb(15 30 19 / 9%) 100%);
      --shadow: 0 22px 70px rgb(25 39 28 / 13%);
      --font: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
      --radius-card: 18px;
      --radius-large: 28px;
      --content: 1220px;
    }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) {
        color-scheme: dark;
        --page: #111913;
        --surface: #18221b;
        --surface-muted: #202c23;
        --ink: #f0f4ee;
        --ink-soft: #b3c0b5;
        --line: #344239;
        --brand: #65c394;
        --brand-dark: #91d8ad;
        --brand-quiet: #203c2d;
        --button-text: #102018;
        --photo-overlay: linear-gradient(90deg, rgb(12 23 15 / 85%) 0%, rgb(12 23 15 / 56%) 50%, rgb(12 23 15 / 12%) 100%);
        --shadow: 0 22px 70px rgb(0 0 0 / 30%);
      }
    }

    :root[data-theme="dark"] {
      color-scheme: dark;
      --page: #111913;
      --surface: #18221b;
      --surface-muted: #202c23;
      --ink: #f0f4ee;
      --ink-soft: #b3c0b5;
      --line: #344239;
      --brand: #65c394;
      --brand-dark: #91d8ad;
      --brand-quiet: #203c2d;
      --button-text: #102018;
      --photo-overlay: linear-gradient(90deg, rgb(12 23 15 / 85%) 0%, rgb(12 23 15 / 56%) 50%, rgb(12 23 15 / 12%) 100%);
      --shadow: 0 22px 70px rgb(0 0 0 / 30%);
    }

    :root[data-theme="light"] {
      color-scheme: light;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 92px;
      -webkit-text-size-adjust: 100%;
    }

    body {
      margin: 0;
      background: var(--page);
      color: var(--ink);
      font-family: var(--font);
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    body,
    button,
    a {
      -webkit-tap-highlight-color: transparent;
    }

    button,
    a {
      font: inherit;
    }

    button {
      color: inherit;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      max-width: 100%;
    }

    button:focus-visible,
    a:focus-visible,
    summary:focus-visible {
      outline: 3px solid var(--brand);
      outline-offset: 4px;
    }

    .skip-link {
      position: fixed;
      z-index: 1000;
      top: 12px;
      left: 12px;
      transform: translateY(-160%);
      border-radius: 8px;
      padding: 10px 14px;
      background: var(--ink);
      color: var(--page);
    }

    .skip-link:focus {
      transform: translateY(0);
    }

    .container {
      width: min(var(--content), calc(100% - 56px));
      margin-inline: auto;
    }

    .section {
      padding-block: clamp(76px, 10vw, 132px);
    }

    .eyebrow {
      display: inline-block;
      margin: 0 0 16px;
      color: var(--brand-dark);
      font-size: 12px;
      font-weight: 750;
      letter-spacing: 0.12em;
      line-height: 1.3;
      text-transform: uppercase;
    }

    .section-heading {
      max-width: 760px;
      margin: 0;
      font-size: clamp(2.25rem, 4.4vw, 4.25rem);
      font-weight: 650;
      letter-spacing: -0.055em;
      line-height: 1.04;
      text-wrap: balance;
    }

    .section-copy {
      max-width: 580px;
      margin: 18px 0 0;
      color: var(--ink-soft);
      font-size: clamp(1rem, 1.3vw, 1.14rem);
      line-height: 1.7;
    }

    .button {
      display: inline-flex;
      min-height: 52px;
      align-items: center;
      justify-content: center;
      gap: 12px;
      border: 1px solid transparent;
      border-radius: 999px;
      padding: 13px 22px;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.2;
      transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
    }

    .button:hover {
      transform: translateY(-2px);
    }

    .button-primary {
      background: var(--brand-dark);
      color: #fff;
    }

    .button-primary:hover {
      background: #104c30;
    }

    .button-secondary {
      border-color: rgb(255 255 255 / 72%);
      background: rgb(255 255 255 / 8%);
      color: #fff;
    }

    .button-secondary:hover {
      background: rgb(255 255 255 / 18%);
    }

    .button-arrow {
      font-size: 20px;
      font-weight: 400;
      line-height: 0.8;
    }

    .site-header {
      position: sticky;
      z-index: 50;
      top: 0;
      border-bottom: 1px solid var(--line);
      background: color-mix(in srgb, var(--page) 91%, transparent);
      backdrop-filter: blur(16px);
    }

    .nav-inner {
      display: flex;
      min-height: 76px;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    .brand {
      display: inline-flex;
      flex: 0 0 auto;
      align-items: center;
      gap: 10px;
      font-size: 18px;
      font-weight: 750;
      letter-spacing: -0.04em;
    }

    .brand img {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      object-fit: cover;
    }

    .nav-links {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: clamp(12px, 2.3vw, 30px);
    }

    .nav-links a {
      color: var(--ink-soft);
      font-size: 14px;
      font-weight: 600;
      transition: color 160ms ease;
    }

    .nav-links a:hover {
      color: var(--brand-dark);
    }

    .nav-links .nav-cta {
      border-radius: 999px;
      padding: 11px 17px;
      background: var(--brand-dark);
      color: #fff;
    }

    .theme-toggle,
    .menu-toggle {
      display: inline-flex;
      min-width: 44px;
      min-height: 44px;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--surface);
      color: var(--ink);
      cursor: pointer;
      font-size: 13px;
      font-weight: 650;
    }

    .menu-toggle {
      display: none;
    }

    .hero {
      position: relative;
      display: flex;
      min-height: min(790px, calc(100svh - 76px));
      align-items: flex-end;
      overflow: hidden;
      isolation: isolate;
      background: #283e30;
      color: #fff;
    }

    .hero-photo,
    .hero-shade {
      position: absolute;
      z-index: -1;
      inset: 0;
    }

    .hero-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 52%;
    }

    .hero-shade {
      background: var(--photo-overlay);
    }

    .hero-content {
      width: min(var(--content), calc(100% - 56px));
      margin: 0 auto;
      padding-block: clamp(96px, 15vh, 164px) clamp(66px, 9vh, 100px);
    }

    .hero .eyebrow {
      margin-bottom: 24px;
      color: #d5f0da;
    }

    .hero h1 {
      max-width: 14ch;
      margin: 0;
      font-size: clamp(3rem, 7.1vw, 6.65rem);
      font-weight: 620;
      letter-spacing: -0.075em;
      line-height: 0.99;
      text-wrap: balance;
    }

    .hero-line {
      display: block;
    }

    .type-image {
      color: transparent;
      background-image:
        linear-gradient(135deg, rgb(221 246 225 / 96%) 0%, rgb(150 220 173 / 96%) 100%),
        url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=500&q=85");
      background-position: center 44%;
      background-size: cover;
      background-clip: text;
      -webkit-background-clip: text;
    }

    .hero-copy {
      max-width: 535px;
      margin: 24px 0 30px;
      color: rgb(255 255 255 / 88%);
      font-size: clamp(1rem, 1.5vw, 1.2rem);
      line-height: 1.65;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .capability-strip {
      border-bottom: 1px solid var(--line);
      background: var(--surface);
    }

    .capability-list {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }

    .capability-list span {
      display: flex;
      min-height: 82px;
      align-items: center;
      justify-content: center;
      border-right: 1px solid var(--line);
      color: var(--ink-soft);
      font-size: 14px;
      font-weight: 650;
      text-align: center;
    }

    .capability-list span:first-child {
      border-left: 1px solid var(--line);
    }

    .capability-list span::before {
      width: 7px;
      height: 7px;
      margin-right: 11px;
      border-radius: 50%;
      background: var(--brand);
      content: "";
    }

    .features-section {
      overflow: hidden;
    }

    .features-heading {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(220px, 0.65fr);
      align-items: end;
      gap: 50px;
      margin-bottom: 50px;
    }

    .features-heading .section-copy {
      margin: 0 0 5px;
    }

    .feature-tabs {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding: 0 0 12px;
      scrollbar-width: thin;
    }

    .feature-tab {
      display: flex;
      min-width: 156px;
      min-height: 56px;
      flex: 1 0 156px;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 12px 16px;
      background: var(--surface);
      color: var(--ink-soft);
      cursor: pointer;
      text-align: left;
      transition: flex 220ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
    }

    .feature-tab[aria-selected="true"] {
      flex-grow: 1.35;
      border-color: var(--brand-dark);
      background: var(--brand-dark);
      color: #fff;
    }

    .feature-tab span:first-child {
      font-size: 15px;
      font-weight: 700;
    }

    .feature-tab span:last-child {
      font-size: 20px;
      font-weight: 400;
    }

    .feature-panel {
      display: grid;
      min-height: 440px;
      grid-template-columns: minmax(270px, 0.85fr) minmax(0, 1.15fr);
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius-large);
      background: var(--surface);
    }

    .feature-panel[hidden] {
      display: none;
    }

    .feature-panel-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      padding: clamp(30px, 5vw, 64px);
    }

    .feature-panel-copy h3 {
      max-width: 12ch;
      margin: 0;
      font-size: clamp(2rem, 3.2vw, 3.3rem);
      font-weight: 630;
      letter-spacing: -0.06em;
      line-height: 1.05;
    }

    .feature-panel-copy p {
      max-width: 410px;
      margin: 18px 0 0;
      color: var(--ink-soft);
      line-height: 1.7;
    }

    .feature-note {
      margin-top: 32px;
      border-top: 1px solid var(--line);
      padding-top: 16px;
      color: var(--brand-dark);
      font-size: 13px;
      font-weight: 700;
    }

    .feature-image {
      position: relative;
      min-height: 340px;
      overflow: hidden;
      background: var(--surface-muted);
    }

    .feature-image img {
      width: 100%;
      height: 100%;
      min-height: 440px;
      object-fit: cover;
      transition: transform 800ms cubic-bezier(.2, .7, .2, 1);
    }

    .feature-panel:not([hidden]) .feature-image img {
      animation: image-in 650ms cubic-bezier(.2, .7, .2, 1) both;
    }

    @keyframes image-in {
      from { transform: scale(1.045); opacity: 0.65; }
      to { transform: scale(1); opacity: 1; }
    }

    .workflow-section {
      overflow: clip;
      background: var(--surface-muted);
    }

    .workflow-layout {
      display: grid;
      grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
      align-items: start;
      gap: clamp(48px, 9vw, 132px);
    }

    .workflow-copy {
      position: sticky;
      top: 120px;
      padding-block: 22px;
    }

    .workflow-copy .section-heading {
      max-width: 11ch;
    }

    .workflow-copy .section-copy {
      max-width: 390px;
    }

    .reveal-word {
      display: inline-block;
      margin-right: 0.24em;
    }

    .workflow-stage {
      position: relative;
      min-width: 0;
      min-height: 500px;
    }

    .workflow-card {
      display: grid;
      min-height: 500px;
      grid-template-columns: 0.85fr 1.15fr;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius-large);
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .workflow-card[hidden] {
      display: none;
    }

    .workflow-card-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      padding: clamp(26px, 4vw, 48px);
    }

    .workflow-card-copy .step-label {
      margin-bottom: 26px;
      color: var(--brand-dark);
      font-size: 13px;
      font-weight: 750;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .workflow-card-copy h3 {
      margin: 0;
      font-size: clamp(1.8rem, 3vw, 3rem);
      font-weight: 630;
      letter-spacing: -0.06em;
      line-height: 1.06;
    }

    .workflow-card-copy p {
      margin: 16px 0 0;
      color: var(--ink-soft);
      line-height: 1.7;
    }

    .workflow-image {
      min-height: 500px;
      background: var(--surface-muted);
    }

    .workflow-image img {
      width: 100%;
      height: 100%;
      min-height: 500px;
      object-fit: cover;
    }

    .story-controls {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 22px;
    }

    .story-control {
      display: inline-flex;
      min-height: 44px;
      align-items: center;
      gap: 8px;
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 8px 14px;
      background: var(--surface);
      color: var(--ink-soft);
      cursor: pointer;
      font-size: 13px;
      font-weight: 650;
    }

    .story-control[aria-pressed="true"] {
      border-color: var(--brand-dark);
      background: var(--brand-dark);
      color: #fff;
    }

    .story-progress {
      margin-left: auto;
      color: var(--ink-soft);
      font-size: 13px;
      font-variant-numeric: tabular-nums;
    }

    .tools-section {
      background: var(--page);
    }

    .tools-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 36px;
      margin-bottom: 48px;
    }

    .tools-heading .section-copy {
      max-width: 420px;
      margin: 0 0 4px;
    }

    .tools-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      grid-template-rows: repeat(2, minmax(230px, 1fr));
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius-large);
      background: var(--surface);
    }

    .tool-card {
      position: relative;
      display: flex;
      min-width: 0;
      flex-direction: column;
      justify-content: space-between;
      overflow: hidden;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding: clamp(22px, 3.5vw, 42px);
      background: var(--surface);
    }

    .tool-card:last-child,
    .tool-card:nth-child(2) {
      border-right: 0;
    }

    .tool-card:nth-child(1) {
      grid-column: span 2;
      grid-row: span 2;
      background:
        linear-gradient(180deg, rgb(12 31 19 / 12%), rgb(12 31 19 / 74%)),
        url("https://images.unsplash.com/photo-1578916171728-46686eac8d58?auto=format&fit=crop&w=1200&q=85") center / cover;
      color: #fff;
    }

    .tool-card:nth-child(2) {
      grid-column: span 1;
      grid-row: span 1;
    }

    .tool-card:nth-child(3) {
      grid-column: span 1;
      grid-row: span 1;
    }

    .tool-card:nth-child(4) {
      grid-column: span 2;
      grid-row: span 1;
      border-bottom: 0;
      background: var(--brand-quiet);
    }

    .tool-card:nth-child(2),
    .tool-card:nth-child(3) {
      background: var(--surface);
    }

    .tool-index {
      color: var(--brand-dark);
      font-size: 12px;
      font-weight: 750;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .tool-card:nth-child(1) .tool-index {
      color: #d5f0da;
    }

    .tool-card h3 {
      max-width: 12ch;
      margin: 34px 0 0;
      font-size: clamp(1.45rem, 2.3vw, 2.5rem);
      font-weight: 650;
      letter-spacing: -0.055em;
      line-height: 1.05;
    }

    .tool-card p {
      max-width: 38ch;
      margin: 12px 0 0;
      color: var(--ink-soft);
      font-size: 14px;
      line-height: 1.65;
    }

    .tool-card:nth-child(1) p {
      color: rgb(255 255 255 / 84%);
    }

    .pricing-section {
      background: var(--surface-muted);
    }

    .pricing-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
      align-items: center;
      gap: clamp(48px, 10vw, 150px);
    }

    .price-card {
      display: flex;
      min-height: 280px;
      flex-direction: column;
      justify-content: space-between;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding-block: 28px;
    }

    .price-card p {
      margin: 0;
      color: var(--ink-soft);
    }

    .price-amount {
      margin: 4px 0 0;
      font-size: clamp(4rem, 9vw, 7rem);
      font-weight: 600;
      letter-spacing: -0.08em;
      line-height: 1;
    }

    .price-note {
      max-width: 340px;
      margin: 14px 0 24px;
      color: var(--ink-soft);
      font-size: 14px;
    }

    .price-card .button {
      align-self: flex-start;
    }

    .faq-section {
      background: var(--surface);
    }

    .faq-layout {
      display: grid;
      grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
      gap: clamp(48px, 10vw, 144px);
    }

    .faq-list {
      border-top: 1px solid var(--line);
    }

    .faq-item {
      border-bottom: 1px solid var(--line);
    }

    .faq-item summary {
      display: flex;
      min-height: 76px;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      cursor: pointer;
      font-size: 16px;
      font-weight: 650;
      list-style: none;
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item summary::after {
      color: var(--brand-dark);
      content: "+";
      font-size: 24px;
      font-weight: 400;
    }

    .faq-item[open] summary::after {
      content: "−";
    }

    .faq-item p {
      max-width: 660px;
      margin: -4px 42px 24px 0;
      color: var(--ink-soft);
      line-height: 1.7;
    }

    .closing {
      padding: clamp(72px, 10vw, 128px) 0 0;
      background: var(--brand-dark);
      color: #fff;
    }

    .closing-inner {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: end;
      gap: 36px;
      padding-bottom: clamp(68px, 9vw, 108px);
    }

    .closing .eyebrow {
      color: #d5f0da;
    }

    .closing h2 {
      max-width: 12ch;
      margin: 0;
      font-size: clamp(2.5rem, 5.6vw, 5.3rem);
      font-weight: 620;
      letter-spacing: -0.07em;
      line-height: 0.99;
      text-wrap: balance;
    }

    .closing-actions {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 14px;
    }

    .closing-actions p {
      max-width: 290px;
      margin: 0;
      color: rgb(255 255 255 / 78%);
      font-size: 14px;
      line-height: 1.65;
    }

    .closing-actions .button-primary {
      background: #fff;
      color: #174d33;
    }

    .closing-actions .button-primary:hover {
      background: #e8f4e9;
    }

    .site-footer {
      border-top: 1px solid rgb(255 255 255 / 25%);
    }

    .footer-inner {
      display: flex;
      min-height: 88px;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      color: rgb(255 255 255 / 80%);
      font-size: 13px;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 22px;
    }

    .footer-links a:hover {
      color: #fff;
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      clip-path: inset(50%);
    }

    @media (min-width: 900px) {
      .tool-card:nth-child(1) {
        border-bottom: 0;
      }
    }

    @media (max-width: 900px) {
      .features-heading,
      .workflow-layout,
      .faq-layout {
        grid-template-columns: 1fr;
      }

      .features-heading {
        gap: 12px;
        margin-bottom: 32px;
      }

      .workflow-layout,
      .faq-layout {
        gap: 34px;
      }

      .workflow-copy {
        position: static;
        padding: 0;
      }

      .workflow-copy .section-heading {
        max-width: 15ch;
      }

      .workflow-stage {
        min-height: 470px;
      }

      .workflow-card,
      .workflow-image,
      .workflow-image img {
        min-height: 470px;
      }

      .pricing-layout {
        grid-template-columns: 1fr 0.8fr;
        gap: 42px;
      }

      .tools-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
      }
    }

    @media (max-width: 720px) {
      .container {
        width: min(100% - 36px, var(--content));
      }

      .nav-inner {
        min-height: 68px;
        gap: 10px;
      }

      .brand img {
        width: 36px;
        height: 36px;
      }

      .menu-toggle {
        display: inline-flex;
      }

      .nav-actions {
        display: flex;
        align-items: center;
        gap: 8px;
      }

      .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--line);
        padding: 8px 18px 18px;
        background: var(--page);
      }

      .nav-links.is-open {
        display: flex;
      }

      .nav-links a {
        padding: 12px 4px;
      }

      .nav-links .nav-cta {
        margin-top: 8px;
        padding: 13px 16px;
        text-align: center;
      }

      .hero {
        min-height: min(760px, calc(100svh - 68px));
      }

      .hero-content {
        width: min(100% - 36px, var(--content));
        padding-block: 90px 48px;
      }

      .hero h1 {
        max-width: 100%;
        font-size: clamp(2.8rem, 10vw, 4.4rem);
      }

      .hero-copy {
        max-width: 440px;
        margin-block: 20px 24px;
        font-size: 1rem;
      }

      .hero-actions {
        align-items: stretch;
        flex-direction: column;
      }

      .hero-actions .button {
        width: fit-content;
        max-width: 100%;
      }

      .capability-list {
        grid-template-columns: repeat(2, 1fr);
      }

      .capability-list span {
        min-height: 60px;
        border-bottom: 1px solid var(--line);
        font-size: 13px;
      }

      .capability-list span:nth-child(2) {
        border-right: 0;
      }

      .capability-list span:nth-child(3),
      .capability-list span:nth-child(4) {
        border-bottom: 0;
      }

      .section {
        padding-block: 76px;
      }

      .feature-tab {
        min-width: 138px;
        min-height: 52px;
        flex-basis: 138px;
        padding-inline: 13px;
      }

      .feature-panel {
        grid-template-columns: 1fr;
      }

      .feature-panel-copy {
        min-height: 300px;
        padding: 30px 26px;
      }

      .feature-image,
      .feature-image img {
        min-height: 290px;
        max-height: 360px;
      }

      .workflow-stage {
        min-height: 0;
      }

      .workflow-card {
        grid-template-columns: 1fr;
      }

      .workflow-card-copy {
        min-height: 270px;
        padding: 28px;
      }

      .workflow-card-copy .step-label {
        margin-bottom: 16px;
      }

      .workflow-image,
      .workflow-image img {
        min-height: 280px;
        max-height: 340px;
      }

      .story-controls {
        flex-wrap: wrap;
      }

      .story-control {
        flex: 1 1 auto;
        justify-content: center;
      }

      .story-progress {
        width: 100%;
        margin: 2px 0 0;
        text-align: right;
      }

      .tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: minmax(300px, auto) minmax(200px, auto) minmax(200px, auto);
      }

      .tool-card {
        padding: 22px;
      }

      .tool-card:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
        border-right: 0;
      }

      .tool-card:nth-child(2),
      .tool-card:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
      }

      .tool-card:nth-child(2) {
        border-right: 1px solid var(--line);
      }

      .tool-card:nth-child(3) {
        border-right: 0;
      }

      .tool-card:nth-child(4) {
        grid-column: span 2;
        grid-row: span 1;
        border-right: 0;
        border-bottom: 0;
      }

      .pricing-layout {
        grid-template-columns: 1fr;
        gap: 34px;
      }

      .price-card {
        min-height: 250px;
      }

      .faq-item summary {
        min-height: 70px;
        font-size: 15px;
      }

      .closing {
        padding-top: 76px;
      }

      .closing-inner {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 30px;
        padding-bottom: 68px;
      }

      .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        padding-block: 24px;
      }

      .footer-links {
        gap: 16px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
      }
    }

:root {
  color-scheme: light;
  --page: #f7faf7;
  --surface: #ffffff;
  --surface-muted: #edf4ee;
  --ink: #18352a;
  --ink-soft: #52665b;
  --line: #d8e3da;
  --brand: #31865a;
  --brand-dark: #17633e;
  --brand-quiet: #e2f0e5;
  --button-text: #ffffff;
  --photo-overlay: none;
  --shadow: 0 16px 38px rgb(24 53 42 / 9%);
  --font: "Aptos", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --radius-card: 16px;
  --radius-large: 20px;
  --content: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #121c17;
    --surface: #19271f;
    --surface-muted: #202f26;
    --ink: #edf4ee;
    --ink-soft: #b2c2b5;
    --line: #34483a;
    --brand: #82c99b;
    --brand-dark: #91d8a8;
    --brand-quiet: #263d2e;
    --button-text: #102016;
    --shadow: 0 16px 38px rgb(0 0 0 / 22%);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #121c17;
  --surface: #19271f;
  --surface-muted: #202f26;
  --ink: #edf4ee;
  --ink-soft: #b2c2b5;
  --line: #34483a;
  --brand: #82c99b;
  --brand-dark: #91d8a8;
  --brand-quiet: #263d2e;
  --button-text: #102016;
  --shadow: 0 16px 38px rgb(0 0 0 / 22%);
}

:root[data-theme="light"] {
  color-scheme: light;
}

html {
  scroll-padding-top: 88px;
}

body {
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
}

.container {
  width: min(var(--content), calc(100% - 64px));
}

.section {
  padding-block: clamp(76px, 8vw, 112px);
}

.section-heading {
  max-width: 13ch;
  font-size: clamp(2.2rem, 4.1vw, 3.8rem);
  font-weight: 680;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.section-copy {
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.7;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.button {
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 19px;
  font-size: 0.92rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--brand-dark);
  color: var(--button-text);
}

.button-primary:hover {
  background: var(--brand-dark);
  filter: brightness(0.94);
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--brand-dark);
  background: var(--brand-quiet);
}

.site-header {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--page) 94%, transparent);
  backdrop-filter: blur(14px);
}

.nav-inner {
  min-height: 72px;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-size: 1.12rem;
  letter-spacing: -0.045em;
}

.brand img {
  border-radius: 10px;
}

.nav-links {
  gap: clamp(14px, 2vw, 26px);
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.87rem;
  white-space: nowrap;
}

.nav-links .nav-cta {
  border-radius: 999px;
  padding: 10px 15px;
  background: var(--brand-dark);
  color: var(--button-text);
}

.nav-links .nav-cta:hover {
  background: var(--brand-dark);
  filter: brightness(0.94);
  color: var(--button-text);
}

.theme-toggle,
.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  border-color: var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
}

.hero {
  display: grid;
  min-height: min(680px, calc(100svh - 72px));
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
  overflow: visible;
  background: var(--page);
  color: var(--ink);
}

.hero-photo {
  position: relative;
  z-index: auto;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: min(550px, calc(100svh - 150px));
  min-height: 430px;
  border-radius: var(--radius-large);
  object-position: 56% center;
  box-shadow: var(--shadow);
}

.hero-shade {
  display: none;
}

.hero-content {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  max-width: 560px;
  margin: 0 0 0 max(32px, calc((100vw - var(--content)) / 2));
  padding-block: 72px;
}

.hero .eyebrow {
  margin-bottom: 18px;
  color: var(--brand-dark);
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 4.8vw, 4.1rem);
  font-weight: 680;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.hero-line {
  display: block;
}

.type-image {
  color: inherit;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-copy {
  max-width: 42ch;
  margin: 22px 0 26px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
}

.hero-actions {
  gap: 10px;
}

.capability-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.capability-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-list span {
  min-height: 70px;
  justify-content: flex-start;
  border-color: var(--line);
  padding-inline: 22px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: left;
}

.capability-list span::before {
  display: none;
}

.features-section {
  overflow: visible;
}

.features-heading {
  display: block;
  max-width: 680px;
  margin-bottom: 32px;
}

.features-heading .section-copy {
  margin-top: 14px;
}

.feature-tabs {
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.feature-tabs::-webkit-scrollbar {
  display: none;
}

.feature-tab {
  position: relative;
  min-width: 0;
  min-height: 54px;
  flex: 1 0 0;
  justify-content: flex-start;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 12px 16px 14px;
  background: transparent;
  color: var(--ink-soft);
  transition: border-color 160ms ease, color 160ms ease;
}

.feature-tab[aria-selected="true"] {
  flex-grow: 1;
  border-color: var(--brand-dark);
  background: transparent;
  color: var(--brand-dark);
}

.feature-tab span:first-child {
  font-size: 0.9rem;
}

.feature-tab span:last-child {
  display: none;
}

.feature-panel {
  min-height: 390px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 70px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.feature-panel-copy {
  padding: clamp(28px, 4vw, 48px) 0;
}

.feature-panel-copy h3 {
  max-width: 11ch;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 680;
  letter-spacing: -0.065em;
}

.feature-panel-copy p:not(.eyebrow) {
  max-width: 43ch;
}

.feature-note {
  margin-top: 24px;
  border-top: 0;
  padding-top: 0;
  color: var(--brand-dark);
}

.feature-image {
  min-height: 390px;
  align-self: center;
  border-radius: var(--radius-large);
}

.feature-image img {
  min-height: 390px;
  border-radius: inherit;
}

.feature-panel:not([hidden]) .feature-image img {
  animation: none;
}

.workflow-section {
  overflow: visible;
  background: var(--surface);
}

.workflow-section .data-layout {
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
}

.workflow-section .data-intro {
  position: sticky;
  top: 110px;
}

.workflow-section .data-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px);
  border-top: 1px solid var(--line);
}

.workflow-section .data-points article {
  border-top: 0;
  padding: 24px 0 0;
}

.workflow-section .data-points h3 {
  max-width: 14ch;
}

.data-section {
  background: var(--surface-muted);
}

.data-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(40px, 8vw, 112px);
}

.data-intro .section-heading {
  max-width: 12ch;
}

.data-points {
  display: grid;
}

.data-points article {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.data-points article:last-child {
  border-bottom: 1px solid var(--line);
}

.data-points h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.data-points p {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.pricing-section {
  background: var(--page);
}

.pricing-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: clamp(44px, 10vw, 140px);
}

.price-card {
  min-height: 240px;
  border-color: var(--line);
}

.price-amount {
  color: var(--brand-dark);
  font-size: clamp(4rem, 8vw, 6rem);
}

.price-card .button {
  align-self: flex-start;
}

.faq-section {
  background: var(--surface);
}

.faq-layout {
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr);
}

.faq-item summary {
  min-height: 70px;
  font-weight: 650;
}

.closing {
  padding-top: clamp(72px, 9vw, 110px);
  background: #174c34;
}

.closing-inner {
  align-items: center;
}

.closing h2 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 5.3vw, 4.8rem);
}

.closing-actions .button-primary {
  background: #ffffff;
  color: #174c34;
}

.closing-actions .button-primary:hover {
  background: #e7f2e9;
}

.footer-inner {
  min-height: 82px;
}

@media (max-width: 900px) {
  .container {
    width: min(var(--content), calc(100% - 48px));
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 18px 18px;
    background: var(--page);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 4px;
  }

  .nav-links .nav-cta {
    margin-top: 8px;
    padding: 13px 16px;
    text-align: center;
  }

  .hero {
    min-height: unset;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 52px 24px;
  }

  .hero-content {
    width: min(100%, 720px);
    margin-inline: auto;
    padding-block: 0;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(3.2rem, 7vw, 4.6rem);
  }

  .hero-photo {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 860px);
    height: clamp(300px, 48vw, 430px);
    min-height: 0;
    margin-inline: auto;
  }

  .workflow-section .data-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .workflow-section .data-intro {
    position: static;
  }

  .workflow-section .data-intro .section-heading {
    max-width: 14ch;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }

  .container {
    width: min(var(--content), calc(100% - 36px));
  }

  .nav-inner {
    min-height: 66px;
  }

  .nav-actions {
    gap: 6px;
  }

  .theme-toggle,
  .menu-toggle {
    min-width: 42px;
    min-height: 42px;
  }

  .nav-links {
    padding-inline: 18px;
    background: var(--page);
  }

  .hero {
    min-height: unset;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 0 18px 28px;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
    width: min(100%, 560px);
    max-width: none;
    margin: 0 auto;
    padding: 54px 0 0;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.65rem, 9vw, 3.8rem);
    line-height: 1.02;
  }

  .hero-copy {
    max-width: 43ch;
    margin-block: 16px 20px;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .button {
    width: auto;
  }

  .hero-photo {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: clamp(260px, 72vw, 390px);
    min-height: 0;
    border-radius: var(--radius-card);
    object-position: center 54%;
  }

  .capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-list span {
    min-height: 60px;
    border-bottom: 1px solid var(--line);
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .capability-list span:nth-child(2) {
    border-right: 0;
  }

  .capability-list span:nth-child(3),
  .capability-list span:nth-child(4) {
    border-bottom: 0;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading {
    font-size: clamp(2.15rem, 8vw, 3.2rem);
  }

  .features-heading {
    margin-bottom: 22px;
  }

  .feature-tabs {
    overflow-x: auto;
  }

  .feature-tab {
    min-width: 136px;
    flex: 0 0 auto;
    justify-content: center;
    padding-inline: 12px;
  }

  .feature-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .feature-panel-copy {
    min-height: 0;
    padding: 28px 0 22px;
  }

  .feature-panel-copy h3 {
    max-width: 13ch;
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .feature-image,
  .feature-image img {
    min-height: 0;
    height: clamp(235px, 68vw, 340px);
    max-height: none;
  }

  .workflow-section .data-layout,
  .data-layout,
  .pricing-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .workflow-section .data-points {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .workflow-section .data-points article {
    border-top: 1px solid var(--line);
    padding: 18px 0;
  }

  .workflow-section .data-points article:last-child {
    border-bottom: 1px solid var(--line);
  }

  .price-card {
    min-height: 220px;
  }

  .closing {
    padding-top: 64px;
  }

  .closing-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-bottom: 56px;
  }

  .closing-actions {
    gap: 12px;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-inline: 16px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 10vw, 2.85rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: fit-content;
  }

  .capability-list span {
    padding-inline: 8px;
    font-size: 0.73rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

:root {
  --page: #f1f3f1;
  --surface: #ffffff;
  --surface-muted: #e7f4eb;
  --ink: #1d2821;
  --ink-soft: #616b64;
  --line: #d9dedb;
  --brand: #0a9b4c;
  --brand-dark: #07843f;
  --brand-quiet: #e1f4e8;
  --button-text: #ffffff;
  --shadow: 0 24px 64px rgb(31 57 40 / 14%);
  --radius-card: 20px;
  --radius-large: 28px;
  --content: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #121a15;
    --surface: #1b261e;
    --surface-muted: #23372a;
    --ink: #f0f5f1;
    --ink-soft: #bac8be;
    --line: #394b3f;
    --brand: #73d596;
    --brand-dark: #8ce3a9;
    --brand-quiet: #263d2e;
    --button-text: #102017;
    --shadow: 0 24px 64px rgb(0 0 0 / 30%);
  }
}

:root[data-theme="dark"] {
  --page: #121a15;
  --surface: #1b261e;
  --surface-muted: #23372a;
  --ink: #f0f5f1;
  --ink-soft: #bac8be;
  --line: #394b3f;
  --brand: #73d596;
  --brand-dark: #8ce3a9;
  --brand-quiet: #263d2e;
  --button-text: #102017;
  --shadow: 0 24px 64px rgb(0 0 0 / 30%);
}

html {
  scroll-padding-top: 84px;
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.container {
  width: min(var(--content), calc(100% - 80px));
}

.site-header {
  background: color-mix(in srgb, var(--page) 92%, transparent);
  box-shadow: 0 1px 0 rgb(24 45 32 / 5%);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 76px;
  gap: clamp(16px, 3vw, 38px);
}

.nav-inner > .brand {
  grid-column: 1;
  grid-row: 1;
}

.nav-actions {
  grid-column: 3;
  grid-row: 1;
}

.brand {
  gap: 11px;
  font-size: 1.18rem;
  font-weight: 750;
}

.brand img {
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  grid-column: 2;
  grid-row: 1;
  gap: clamp(14px, 2.2vw, 30px);
  justify-content: flex-end;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-links a:hover {
  color: var(--brand-dark);
}

.nav-links .nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: var(--button-text);
}

.theme-toggle,
.menu-toggle {
  min-width: 46px;
  min-height: 46px;
  border-color: var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.theme-toggle:hover,
.menu-toggle:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  width: min(100%, 1520px);
  min-height: min(750px, calc(100svh - 76px));
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  margin-inline: auto;
  overflow: hidden;
  padding: 48px clamp(40px, calc((100% - 1360px) / 2), 160px);
  background:
    radial-gradient(ellipse at 79% 47%, color-mix(in srgb, var(--brand-quiet) 80%, transparent) 0, transparent 43%),
    var(--page);
}

.hero-content {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 540px;
  margin: 0;
  padding-block: 34px;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.6rem, 5.2vw, 4.8rem);
  font-weight: 760;
  letter-spacing: -0.085em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-line {
  animation: hero-line-enter 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-line:nth-child(2) {
  animation-delay: 100ms;
  color: var(--brand-dark);
}

.hero-copy {
  max-width: 36ch;
  margin-block: 25px 30px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  animation: hero-line-enter 700ms 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: hero-line-enter 700ms 240ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.button {
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 21px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button-primary {
  background: var(--brand-dark);
  color: var(--button-text);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand-dark) 22%, transparent);
}

.button-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--brand-dark) 30%, transparent);
  filter: brightness(1.05);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--brand);
  background: var(--brand-quiet);
  color: var(--ink);
}

.hero-screens {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 660px;
  min-height: 620px;
  justify-self: end;
  isolation: isolate;
}

.hero-screen {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  filter: drop-shadow(0 18px 24px rgb(34 63 44 / 16%));
  transform-origin: center 72%;
}

.hero-screen img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 20;
  border: 7px solid var(--surface);
  border-radius: clamp(18px, 2vw, 28px);
  background: var(--surface);
  object-fit: cover;
}

.hero-screen figcaption {
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-screen-inventory {
  z-index: 1;
  top: 20%;
  left: 0;
  width: 32%;
  animation: hero-screen-enter 850ms 140ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transform: rotate(-7deg);
}

.hero-screen-ledger {
  z-index: 3;
  top: 4%;
  left: 31%;
  width: 39%;
  animation: hero-screen-enter 850ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-screen-billing {
  z-index: 2;
  top: 20%;
  right: 0;
  width: 32%;
  animation: hero-screen-enter 850ms 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transform: rotate(7deg);
}

@keyframes hero-line-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-screen-enter {
  from {
    opacity: 0;
    transform: translateY(28px) rotate(0);
  }

  to {
    opacity: 1;
  }
}

.capability-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.capability-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-list span {
  min-height: 78px;
  border-color: var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 650;
}

.capability-list span::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--brand);
}

.section {
  padding-block: clamp(84px, 9vw, 126px);
}

.section-heading {
  max-width: 13ch;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 740;
  letter-spacing: -0.078em;
  line-height: 1;
  text-wrap: balance;
}

.section-copy {
  max-width: 57ch;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.7;
}

.features-heading {
  display: block;
  max-width: 780px;
  margin-bottom: 36px;
}

.features-heading .section-copy {
  margin-top: 16px;
}

.feature-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.feature-tab,
.feature-tab[aria-selected="true"] {
  min-height: 52px;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-tab:hover {
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.feature-tab[aria-selected="true"] {
  background: var(--brand-quiet);
  color: var(--brand-dark);
  box-shadow: 0 2px 7px rgb(18 58 31 / 8%);
}

.feature-panel {
  min-height: 610px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(38px, 8vw, 112px);
  padding-top: 45px;
}

.feature-panel[hidden] {
  display: none;
}

.feature-panel.is-entering {
  animation: panel-enter 450ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-panel-copy {
  padding: 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.feature-panel-copy h3 {
  max-width: 11ch;
  font-size: clamp(2.5rem, 4.3vw, 4rem);
  font-weight: 740;
  letter-spacing: -0.078em;
  line-height: 1;
  text-wrap: balance;
}

.feature-panel-copy p:not(.eyebrow) {
  max-width: 45ch;
  margin-top: 19px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.feature-note {
  display: inline-block;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 650;
}

.feature-image {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
}

.feature-image img {
  width: min(100%, 290px);
  height: auto;
  min-height: 0;
  max-height: 630px;
  aspect-ratio: 9 / 20;
  border: 8px solid var(--surface);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.workflow-section {
  background: var(--surface);
}

.workflow-section .data-layout {
  display: block;
}

.workflow-section .data-intro {
  position: static;
  max-width: 720px;
  margin-bottom: 43px;
}

.workflow-section .data-intro .section-heading {
  max-width: 12ch;
}

.workflow-section .data-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 58px);
  border-top: 1px solid var(--line);
}

.workflow-section .data-points article {
  padding: 23px 0 0;
}

.workflow-section .data-points h3,
.data-points h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 720;
  letter-spacing: -0.035em;
}

.workflow-section .data-points p,
.data-points p {
  max-width: 38ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.data-section {
  background: var(--surface-muted);
}

.data-section .data-layout {
  align-items: start;
  gap: clamp(45px, 8vw, 115px);
}

.data-section .data-intro {
  position: static;
}

.data-section .data-intro .section-heading {
  max-width: 11ch;
}

.data-section .data-points {
  grid-template-columns: minmax(0, 1fr);
}

.data-section .data-points article {
  padding: 21px 0;
  border-top: 1px solid color-mix(in srgb, var(--brand-dark) 19%, var(--line));
}

.data-section .data-points article:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--brand-dark) 19%, var(--line));
}

.data-section .data-points h3 {
  margin-bottom: 5px;
}

.data-section .data-points p {
  max-width: 54ch;
  margin-bottom: 0;
}

.pricing-section {
  background: var(--page);
}

.pricing-layout {
  align-items: center;
}

.pricing-layout > div:first-child {
  max-width: 680px;
}

.price-card {
  min-height: 260px;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  padding: clamp(28px, 4vw, 46px);
  background: var(--surface);
  box-shadow: 0 14px 42px rgb(24 53 42 / 7%);
}

.price-card > div > p:first-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 650;
}

.price-amount {
  margin: 5px 0;
  color: var(--brand-dark);
  font-size: clamp(4rem, 7vw, 5.7rem);
  font-weight: 760;
  letter-spacing: -0.08em;
  line-height: 1;
}

.price-note {
  max-width: 30ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.faq-section {
  background: var(--surface);
}

.faq-layout {
  align-items: start;
  gap: clamp(42px, 8vw, 110px);
}

.faq-layout > div:first-child {
  position: sticky;
  top: 105px;
}

.faq-item {
  border-top-color: var(--line);
}

.faq-item:last-child {
  border-bottom-color: var(--line);
}

.faq-item summary {
  min-height: 74px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 680;
}

.faq-item summary::after {
  color: var(--brand-dark);
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 62ch;
  padding-bottom: 20px;
  color: var(--ink-soft);
}

.closing {
  padding-top: clamp(80px, 10vw, 130px);
  background: #0c5631;
  color: #f3faf5;
}

.closing-inner {
  align-items: center;
}

.closing h2 {
  max-width: 11ch;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 740;
  letter-spacing: -0.08em;
  line-height: 0.98;
}

.closing-actions p {
  max-width: 28ch;
  color: #d4e9dc;
  font-size: 1.1rem;
}

.closing-actions .button-primary {
  background: #ffffff;
  color: #124b2e;
  box-shadow: none;
}

.closing-actions .button-primary:hover {
  background: #e7f5ec;
}

.site-footer {
  margin-top: 70px;
  border-top-color: rgb(255 255 255 / 19%);
}

.footer-inner {
  min-height: 92px;
  gap: 22px;
  color: #d4e9dc;
}

.footer-inner .brand,
.footer-links a {
  color: #f3faf5;
}

.footer-links {
  gap: clamp(14px, 2.6vw, 30px);
}

.footer-inner > span {
  font-size: 0.84rem;
}

.has-motion [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.has-motion [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-screen-inventory {
    animation:
      hero-screen-enter 850ms 140ms cubic-bezier(0.2, 0.8, 0.2, 1) both,
      screen-drift 7s 1s ease-in-out infinite;
  }

  .hero-screen-billing {
    animation:
      hero-screen-enter 850ms 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both,
      screen-drift 8s 1.1s ease-in-out infinite;
  }

  @keyframes screen-drift {
    0%,
    100% {
      translate: 0 0;
    }

    50% {
      translate: 0 -8px;
    }
  }
}

@media (max-width: 900px) {
  .container {
    width: min(var(--content), calc(100% - 48px));
  }

  .nav-inner {
    grid-template-columns: auto 1fr auto;
  }

  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 65px 32px 30px;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
    max-width: 710px;
    justify-self: center;
    padding-block: 10px 0;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3.7rem, 8vw, 5.1rem);
  }

  .hero-copy {
    max-width: 48ch;
  }

  .hero-screens {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 630px);
    min-height: clamp(450px, 78vw, 590px);
    margin-inline: auto;
  }

  .feature-panel {
    min-height: 0;
    gap: 38px;
    padding-top: 40px;
  }

  .feature-panel-copy h3 {
    font-size: clamp(2.5rem, 5.4vw, 3.5rem);
  }

  .workflow-section .data-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .data-section .data-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 74px;
  }

  .container {
    width: min(var(--content), calc(100% - 36px));
  }

  .nav-inner {
    min-height: 68px;
    gap: 12px;
  }

  .nav-actions {
    gap: 7px;
  }

  .nav-links {
    box-shadow: 0 12px 24px rgb(22 48 31 / 9%);
  }

  .nav-links.is-open {
    animation: menu-enter 180ms ease both;
  }

  @keyframes menu-enter {
    from {
      opacity: 0;
      transform: translateY(-7px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero {
    gap: 5px;
    padding: 49px 18px 12px;
  }

  .hero-content {
    width: min(100%, 560px);
    padding: 0;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3.2rem, 12vw, 4.15rem);
  }

  .hero-copy {
    max-width: 39ch;
    margin-block: 18px 23px;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-actions .button {
    width: auto;
    min-height: 48px;
  }

  .hero-screens {
    width: min(100%, 520px);
    min-height: clamp(390px, 106vw, 470px);
    overflow: hidden;
  }

  .hero-screen {
    gap: 7px;
  }

  .hero-screen img {
    border-width: 5px;
    border-radius: 19px;
  }

  .hero-screen-inventory {
    top: 19%;
    left: 1%;
    width: 42%;
  }

  .hero-screen-ledger {
    top: 3%;
    left: 22%;
    width: 54%;
  }

  .hero-screen-billing {
    top: 19%;
    right: 1%;
    width: 42%;
  }

  .hero-screen figcaption {
    padding: 4px 10px;
    font-size: 0.73rem;
  }

  .capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-list span {
    min-height: 58px;
    justify-content: flex-start;
    padding-inline: 11px;
    font-size: 0.76rem;
    text-align: left;
  }

  .capability-list span:nth-child(2) {
    border-right: 0;
  }

  .capability-list span:nth-child(3),
  .capability-list span:nth-child(4) {
    border-bottom: 0;
  }

  .section {
    padding-block: 75px;
  }

  .section-heading {
    font-size: clamp(2.6rem, 9vw, 3.4rem);
  }

  .features-heading {
    margin-bottom: 25px;
  }

  .feature-tabs {
    gap: 4px;
    padding: 4px;
  }

  .feature-tab,
  .feature-tab[aria-selected="true"] {
    min-width: 0;
    min-height: 46px;
    flex: 1 1 0;
    padding: 9px 6px;
    font-size: 0.84rem;
  }

  .feature-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-top: 25px;
  }

  .feature-panel-copy {
    padding: 10px 0;
  }

  .feature-panel-copy h3 {
    max-width: 13ch;
    font-size: clamp(2.55rem, 9vw, 3.2rem);
  }

  .feature-panel-copy p:not(.eyebrow) {
    margin-top: 13px;
    font-size: 0.98rem;
  }

  .feature-note {
    margin-top: 4px;
    font-size: 0.77rem;
  }

  .feature-image {
    min-height: 0;
    height: auto;
    padding: 15px 0 5px;
  }

  .feature-image img {
    width: min(76vw, 290px);
    max-height: none;
  }

  .workflow-section .data-layout,
  .data-section .data-layout,
  .pricing-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .workflow-section .data-intro {
    margin-bottom: 30px;
  }

  .workflow-section .data-points {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .workflow-section .data-points article {
    padding: 18px 0;
  }

  .workflow-section .data-points article:last-child {
    border-bottom: 1px solid var(--line);
  }

  .data-section .data-layout {
    gap: 14px;
  }

  .data-section .data-points article {
    padding: 17px 0;
  }

  .price-card {
    min-height: 0;
    padding: 30px;
  }

  .faq-layout > div:first-child {
    position: static;
  }

  .faq-item summary {
    min-height: 68px;
  }

  .closing {
    padding-top: 70px;
  }

  .closing-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 20px;
  }

  .closing h2 {
    max-width: 12ch;
    font-size: clamp(3rem, 10vw, 4.1rem);
  }

  .closing-actions {
    gap: 10px;
  }

  .site-footer {
    margin-top: 45px;
  }

  .footer-inner {
    justify-content: flex-start;
    padding-block: 22px;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(var(--content), calc(100% - 32px));
  }

  .hero {
    padding-inline: 16px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.9rem, 12vw, 3.25rem);
  }

  .hero-screens {
    min-height: 390px;
  }

  .hero-screen-inventory,
  .hero-screen-billing {
    width: 43%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-motion [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-line,
  .hero-screen,
  .hero-screen-inventory,
  .hero-screen-billing,
  .hero-screen-ledger,
  .nav-links.is-open {
    animation: none;
  }
}


:root {
  color-scheme: light;
  --page: #f7faf7;
  --surface: #ffffff;
  --surface-muted: #edf4ee;
  --ink: #18352a;
  --ink-soft: #52665b;
  --line: #d8e3da;
  --brand: #31865a;
  --brand-dark: #17633e;
  --brand-quiet: #e2f0e5;
  --shadow: 0 16px 38px rgb(24 53 42 / 9%);
  --font: "Aptos", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #121c17;
    --surface: #19271f;
    --surface-muted: #202f26;
    --ink: #edf4ee;
    --ink-soft: #b2c2b5;
    --line: #34483a;
    --brand: #82c99b;
    --brand-dark: #91d8a8;
    --brand-quiet: #263d2e;
    --shadow: 0 16px 38px rgb(0 0 0 / 22%);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #121c17;
  --surface: #19271f;
  --surface-muted: #202f26;
  --ink: #edf4ee;
  --ink-soft: #b2c2b5;
  --line: #34483a;
  --brand: #82c99b;
  --brand-dark: #91d8a8;
  --brand-quiet: #263d2e;
  --shadow: 0 16px 38px rgb(0 0 0 / 22%);
}

:root[data-theme="light"] {
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  border-radius: 8px;
  padding: 9px 13px;
  background: var(--ink);
  color: var(--page);
}

.skip-link:focus {
  transform: translateY(0);
}

.legal-header {
  position: sticky;
  z-index: 1;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 94%, transparent);
  backdrop-filter: blur(14px);
}

.legal-nav,
.legal-footer-inner {
  display: flex;
  width: min(100% - 40px, 1120px);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.header-links,
.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.header-links a,
.legal-footer-links a {
  text-decoration: none;
}

.header-links a:hover,
.legal-footer-links a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-main {
  width: min(100% - 40px, 1160px);
  margin: 0 auto;
  padding: clamp(44px, 8vw, 94px) 0 96px;
}

.legal-intro {
  max-width: 760px;
  margin: 0 0 40px clamp(214px, 22vw, 280px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 6.2vw, 4.8rem);
  font-weight: 680;
  letter-spacing: -0.075em;
  line-height: 0.99;
  text-wrap: balance;
}

.intro-copy {
  max-width: 62ch;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.updated::before {
  display: none;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 245px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 64px);
}

.legal-toc {
  position: sticky;
  top: 100px;
  padding: 5px 18px 5px 0;
  border: 0;
  border-left: 2px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.legal-toc h2 {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-toc ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 13px;
}

.legal-toc a {
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.legal-document {
  min-width: 0;
  padding: clamp(24px, 5vw, 54px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legal-document section + section {
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.legal-document h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-document p,
.legal-document li {
  max-width: 70ch;
  color: var(--ink-soft);
}

.legal-document p:last-child,
.legal-document ul:last-child {
  margin-bottom: 0;
}

.legal-document ul {
  display: grid;
  gap: 7px;
  padding-left: 21px;
}

.legal-document li::marker {
  color: var(--brand);
}

.legal-document a {
  color: var(--brand-dark);
  font-weight: 600;
}

.notice {
  padding: 16px 18px;
  border-left: 3px solid var(--brand);
  border-radius: 0;
  background: var(--brand-quiet);
  color: var(--ink);
}

.legal-footer {
  border-top: 1px solid var(--line);
}

.legal-footer-inner {
  min-height: 86px;
  color: var(--ink-soft);
  font-size: 12px;
}

@media (max-width: 760px) {
  .legal-nav,
  .legal-footer-inner {
    width: min(100% - 32px, 1120px);
  }

  .legal-nav {
    min-height: 66px;
  }

  .header-links {
    gap: 12px;
    font-size: 12px;
  }

  .legal-main {
    width: min(100% - 32px, 1120px);
    padding-top: 52px;
    padding-bottom: 64px;
  }

  .legal-intro {
    margin-left: 0;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-toc {
    position: static;
  }

  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .legal-document {
    padding: 25px 21px;
  }
}

@media (max-width: 440px) {
  .legal-nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding-block: 8px;
  }

  .legal-header .brand img {
    border-radius: 10px;
  }

  .legal-document section + section {
    margin-top: 32px;
    padding-top: 28px;
  }

  .legal-toc h2 {
    font-size: 0.82rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .legal-document a,
  .header-links a:hover,
  .legal-footer-links a:hover {
    color: var(--brand-dark);
  }

  @media (max-width: 760px) {
    .legal-toc {
      padding: 0 0 0 16px;
    }
  }

  .header-links {
    padding-left: 48px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-block: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
