:root {
  color-scheme: light;
  --ink: #142b3b;
  --ink-soft: #435765;
  --muted: #667882;
  --line: #d9e1e2;
  --cream: #fbfaf6;
  --white: #fff;
  --accent: #e79b48;
  --accent-pale: #fff1dd;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.container { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: -5rem; left: 1rem; padding: .75rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }

.site-header { position: relative; z-index: 2; background: var(--cream); border-bottom: 1px solid rgba(20,43,59,.09); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .76rem; font-size: 1.3rem; font-weight: 660; text-decoration: none; letter-spacing: -.04em; white-space: nowrap; }
.brand strong { color: #ad6423; font-weight: 720; }
.brand-mark { width: 30px; height: 30px; border: 6px solid var(--ink); border-right-color: transparent; border-radius: 50%; display: inline-flex; align-items: center; justify-content: flex-end; transform: rotate(-6deg); }
.brand-mark span { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-right: -5px; }
.main-nav { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.7rem); }
.main-nav a { font-size: .9rem; font-weight: 620; text-decoration: none; color: #314b58; }
.main-nav a:hover, .footer-inner a:hover { color: #a85a16; }
.main-nav .nav-contact { display: inline-flex; gap: .55rem; align-items: center; padding: .68rem .95rem; border: 1px solid #aebcc2; border-radius: 6px; color: var(--ink); }
.main-nav .nav-contact:hover { border-color: var(--ink); }

.hero { overflow: hidden; position: relative; background: radial-gradient(circle at 83% 18%, #fff1d9 0, rgba(255,241,217,0) 37%), linear-gradient(135deg, #f8f8f2 0%, #f6f5ee 65%, #ecf2f0 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .23; background-image: linear-gradient(to right, #a9bcc2 1px, transparent 1px), linear-gradient(to bottom, #a9bcc2 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to right, transparent 30%, black 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(350px, .93fr); align-items: center; gap: clamp(2.3rem, 6vw, 6rem); padding-block: clamp(5rem, 10vw, 8.5rem); }
.eyebrow, .section-kicker { margin: 0 0 1.45rem; color: #8d4b12; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .76rem; border: 1px solid #e9d6bb; background: rgba(255,255,255,.7); border-radius: 100px; letter-spacing: .1em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #d78125; box-shadow: 0 0 0 3px #f8e0c3; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.055em; }
h1 { font-size: clamp(4.3rem, 8.6vw, 7.3rem); line-height: .97; margin-bottom: 1.6rem; font-weight: 780; }
.hero-subhead { max-width: 650px; margin-bottom: 1.45rem; font-size: clamp(1.5rem, 2.5vw, 2.17rem); line-height: 1.22; font-weight: 630; letter-spacing: -.035em; }
.hero-description { max-width: 600px; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.25rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1.3rem; min-height: 49px; padding: .75rem 1.2rem; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: .95rem; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover { background: #284657; }
.text-link { font-size: .94rem; font-weight: 700; text-decoration-color: #c79a69; text-underline-offset: 5px; }
.text-link:hover { color: #a85a16; }

.platform-illustration { position: relative; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid #d6dfdb; border-radius: 14px; background: rgba(255,255,255,.9); box-shadow: 0 24px 70px rgba(25,51,58,.13), 0 4px 14px rgba(25,51,58,.05); }
.platform-illustration::before { content: ""; position: absolute; width: 44%; height: 14px; left: 28%; bottom: -14px; border-radius: 0 0 10px 10px; background: #bcc9c8; opacity: .6; }
.illustration-topline { display: flex; align-items: center; gap: .65rem; padding: .3rem 0 1.25rem; color: var(--ink-soft); font-size: .8rem; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }
.mini-mark { width: 13px; height: 13px; border: 3px solid #d88730; border-right-color: transparent; border-radius: 50%; }
.illustration-line { flex: 1; height: 1px; background: var(--line); margin-left: .5rem; }
.workflow-step { display: grid; grid-template-columns: 45px minmax(0,1fr) 20px; align-items: center; gap: .7rem; padding: 1.1rem .55rem; border-top: 1px solid var(--line); }
.workflow-step div { display: grid; gap: .25rem; }
.workflow-step strong { font-size: 1.05rem; letter-spacing: -.02em; }
.workflow-step div span { color: var(--muted); font-size: .88rem; }
.step-number { font-size: .77rem; font-weight: 800; color: #ba7227; }
.step-arrow { color: #8ca0a5; font-size: 1.15rem; }
.illustration-caption { margin: 1.1rem 0 0; padding: 1rem 1.15rem; border-radius: 5px; background: #f1f5f3; color: #4c6670; font-size: .83rem; line-height: 1.5; }

.section { padding-block: clamp(5rem, 8vw, 7.5rem); }
.section-intro { max-width: 700px; margin-bottom: 2.4rem; }
.section-intro h2, .about-grid h2, .contact-inner h2 { font-size: clamp(2.3rem, 4.3vw, 3.9rem); line-height: 1.07; margin-bottom: 1.25rem; font-weight: 730; }
.section-intro > p:last-child, .about-grid p, .contact-inner p { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.feature-card { min-height: 235px; padding: 1.75rem 1.55rem 1.4rem; border: 1px solid var(--line); border-radius: 7px; background: var(--white); box-shadow: 0 7px 24px rgba(21,43,53,.035); }
.feature-index { display: block; margin-bottom: 2.1rem; color: #a45e21; font-size: .68rem; letter-spacing: .13em; font-weight: 800; }
.feature-card h3 { margin-bottom: .65rem; font-size: 1.2rem; letter-spacing: -.03em; }
.feature-card p { margin-bottom: 0; font-size: .9rem; color: var(--ink-soft); line-height: 1.62; }
.about-section { border-top: 1px solid var(--line); background: #f4f6f3; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 8vw, 7rem); align-items: start; }
.about-grid p { font-size: 1.12rem; }
.about-grid .about-note { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #ccd9d7; color: #52666d; font-size: .94rem; }
.contact-section { background: var(--ink); color: var(--white); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding-block: clamp(3.5rem, 6vw, 5rem); }
.contact-inner .section-kicker { color: #f4bd7c; }
.contact-inner h2 { margin-bottom: .65rem; }
.contact-inner p { color: #c4d0d4; margin-bottom: 0; }
.button-light { color: var(--ink); background: #f5b970; white-space: nowrap; }
.button-light:hover { background: #ffd095; }
.site-footer { background: #102430; color: #d1dcdf; }
.footer-inner { min-height: 190px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; }
.footer-inner > div { display: grid; gap: .36rem; }
.footer-inner strong { color: var(--white); font-size: 1.1rem; }
.footer-inner span, .footer-inner a, .footer-inner small { font-size: .85rem; }
.footer-inner a { text-decoration: none; }
.footer-inner nav { display: flex; gap: 1.5rem; }
.footer-inner small { color: #a8bac0; }

.legal-main { min-height: 65vh; padding-block: clamp(4rem, 8vw, 7rem); }
.legal-wrap { max-width: 760px; }
.back-link { display: inline-block; margin-bottom: 2.6rem; color: #8e4c19; font-size: .9rem; font-weight: 720; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.legal-wrap h1 { font-size: clamp(3rem, 7vw, 5rem); margin-bottom: 1rem; }
.legal-lede { color: var(--ink-soft); font-size: 1.14rem; line-height: 1.7; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.legal-wrap section { padding-block: 1.45rem; border-bottom: 1px solid var(--line); }
.legal-wrap h2 { font-size: 1.3rem; letter-spacing: -.025em; margin-bottom: .65rem; }
.legal-wrap section p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 0; }
.legal-wrap section p + p { margin-top: .8rem; }
.legal-wrap section a { color: #904e18; text-underline-offset: 3px; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.3rem; }
  .hero-copy { max-width: 720px; }
  .platform-illustration { max-width: 600px; width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1fr auto; padding-block: 2.5rem; }
  .footer-inner small { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 2rem, 1160px); }
  .header-inner { min-height: 74px; gap: 1rem; flex-wrap: wrap; padding-block: .9rem; }
  .brand { font-size: 1.2rem; }
  .main-nav { width: 100%; justify-content: space-between; gap: .65rem; }
  .main-nav a { font-size: .82rem; }
  .main-nav .nav-contact { padding: .45rem .6rem; }
  .hero-grid { padding-block: 4.6rem 5rem; }
  h1 { margin-bottom: 1.2rem; }
  .hero-subhead { font-size: 1.6rem; }
  .hero-description { font-size: 1rem; }
  .hero-actions { gap: 1.15rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-index { margin-bottom: 1.3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 1rem; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 1.7rem; }
  .button-light { white-space: normal; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-inner small { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
