/* ZorgFolio public website · visual tokens inherited from apps/web/src/design/tokens.css */
:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --navy: #082747;
  --navy-2: #0c3655;
  --teal: #0e9d8f;
  --mint: #6ee7d4;
  --ink: #142e49;
  --muted: #657a8c;
  --border: #e5ecf2;
  --page: #f6f9fb;
  --surface: #fff;
  --focus: #55caba;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; min-width: 320px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, summary { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 4.55vw, 4.65rem); font-weight: 730; }
h2 { font-size: clamp(2.15rem, 3.25vw, 3.3rem); font-weight: 690; }
h3 { font-size: 1.29rem; font-weight: 670; }
p { color: var(--muted); }
em { color: var(--teal); font-style: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: #b2f3e5; color: var(--navy); }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 30; padding: 13px 20px; background: #fff; color: var(--navy); border-radius: 7px; }
.skip-link:focus { top: 15px; }
.site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid #eaf0f3; position: relative; z-index: 20; }
.nav-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 168px; max-height: 55px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px,3vw,40px); }
.desktop-nav a, .nav-link { text-decoration: none; font-size: .89rem; font-weight: 550; }
.desktop-nav a { color: #526579; transition: color 160ms; }
.desktop-nav a:hover, .nav-link:hover { color: var(--teal); }
.nav-link { padding: 12px 17px; border: 1px solid #dbe8e9; border-radius: 9px; white-space: nowrap; color: var(--navy); background: #fff; }
.nav-link span { margin-left: 7px; color: var(--teal); font-size: 1.05rem; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(116deg, #f7fafc 5%, #fff 55%, #e8f8f5 100%); }
.hero-glow { position: absolute; z-index: -1; width: 800px; height: 800px; right: -290px; top: -260px; border-radius: 50%; background: radial-gradient(circle,#c4f4e6 0%,#e7fbf6 43%,transparent 70%); opacity: .88; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.03fr); gap: min(6vw,75px); align-items: center; min-height: 660px; padding-block: 86px 94px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .kicker { font-weight: 750; font-size: .72rem; letter-spacing: .14em; }
.eyebrow { color: #24756f; display: inline-flex; align-items: center; gap: 11px; margin-bottom: 25px; }
.pulse { display: inline-block; width: 9px; height: 9px; border-radius: 100%; background: #1bb59f; box-shadow: 0 0 0 5px #d5f5eb; }
.hero-copy h1 { max-width: 630px; }
.hero-lead { max-width: 570px; font-size: clamp(1.13rem, 1.6vw, 1.31rem); color: #344e65; line-height: 1.63; margin-top: 30px; font-weight: 480; }
.hero-support { max-width: 530px; font-size: .96rem; margin-top: 15px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 51px; padding: 14px 22px; border-radius: 9px; text-decoration: none; font-size: .94rem; font-weight: 640; transition: transform 180ms, box-shadow 180ms, background 180ms; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: #fff; box-shadow: 0 13px 29px rgba(8,39,71,.14); }
.button-primary:hover { background: #104467; box-shadow: 0 16px 34px rgba(8,39,71,.19); }
.button-primary span { color: #76e3cb; }
.button-secondary { background: #fff; color: var(--navy); border: 1px solid #dce9eb; }
.button-secondary:hover { background: #f7ffff; }
.hero-footnote { display: flex; align-items: center; gap: 9px; font-size: .78rem; margin-top: 27px; color: #5c7484; }
.check-seal { width: 17px; height: 17px; line-height: 17px; text-align: center; color: #128d7d; background: #dbf5eb; border-radius: 50%; font-size: .69rem; font-weight: 750; }
.hero-art { position: relative; padding: 34px 11px 30px; min-width: 0; }
.art-orbit { position: absolute; z-index: -1; border: 1px solid #b6e4d8; border-radius: 50%; }
.orbit-one { inset: -65px -48px -55px 14px; transform: rotate(-21deg); }
.orbit-two { inset: -28px -105px -5px 61px; transform: rotate(16deg); opacity: .5; }
.app-surface { position: relative; border: 1px solid #e8eef2; border-radius: 17px; background: #fff; box-shadow: 0 31px 80px rgba(8,39,71,.14),0 8px 25px rgba(5,44,65,.07); overflow: hidden; transform: rotate(-1deg); }
.app-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-bottom: 1px solid #eef2f4; padding: 14px 22px; }
.mini-brand { display: flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 750; color: var(--navy); }
.mini-brand img { width: 29px; height: 29px; object-fit: contain; }
.app-topright { display: flex; align-items: center; gap: 6px; font-size: .62rem; color: #8294a3; white-space: nowrap; }
.demo-dot { display: inline-block; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
.app-body { padding: 24px 25px 28px; background: linear-gradient(180deg,#fff,#fbfdfd); }
.app-greeting > span { display: block; font-size: .57rem; letter-spacing: .14em; font-weight: 740; color: #7f919c; }
.app-greeting h2 { font-size: 1.33rem; letter-spacing: -.035em; margin: 9px 0 5px; }
.app-greeting p { font-size: .69rem; }
.mini-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 21px; }
.mini-stats > div { display: flex; flex-direction: column; min-width: 0; padding: 13px 10px; border: 1px solid #e7edf2; border-radius: 9px; background: #fff; }
.mini-stats strong { font-size: .67rem; margin-top: 8px; color: var(--navy); }
.mini-stats small { font-size: .59rem; color: #8091a1; line-height: 1.25; margin-top: 3px; }
.stat-icon { width: 28px; height: 28px; display: grid; place-items: center; font-size: 1rem; border-radius: 7px; font-weight: 750; }
.stat-icon.mint { background: #e0f8f0; color: #149b82; }
.stat-icon.pale { background: #eaf2ff; color: #508ad4; }
.stat-icon.warm { background: #fff5e5; color: #c69138; }
.app-row-heading { display: flex; justify-content: space-between; align-items: center; margin: 24px 0 10px; }
.app-row-heading strong { font-size: .78rem; }
.app-row-heading span { font-size: .57rem; color: #95a1b0; letter-spacing: .08em; }
.record { display: flex; align-items: center; gap: 9px; padding: 12px 9px; border: 1px solid #eaf0f3; border-radius: 8px; margin-bottom: 8px; background: #fff; }
.record-symbol { display: grid; place-items: center; flex: 0 0 30px; height: 30px; font-size: .9rem; border-radius: 7px; background: #e8f7f4; color: #24a997; }
.record-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.record-text strong { font-size: .68rem; }
.record-text small { font-size: .58rem; color: #8393a2; margin-top: 2px; }
.record-pill { background: #eef8f6; padding: 4px 7px; border-radius: 5px; font-size: .58rem; color: #268b7c; }
.next-step { display: flex; align-items: center; gap: 11px; padding: 13px 12px; border-radius: 9px; background: #edf8f6; margin-top: 15px; }
.next-bubble { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: #fff; color: var(--teal); font-weight: 760; }
.next-step > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.next-step small { letter-spacing: .11em; color: #59968d; font-weight: 760; font-size: .53rem; }
.next-step strong { font-size: .69rem; }
.next-step .arrow { font-size: 1.2rem; color: var(--teal); }
.concept-note { padding: 9px; background: #f5f8fa; text-align: center; font-size: .58rem; color: #7d8b97; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 13px 15px; background: #fff; border: 1px solid #edf1f2; border-radius: 11px; box-shadow: 0 13px 35px rgba(11,53,71,.12); z-index: 2; }
.float-card span:last-child { display: flex; flex-direction: column; }
.float-card strong { font-size: .66rem; }
.float-card small { font-size: .58rem; color: #8291a0; }
.float-card-top { top: -5px; right: -21px; transform: rotate(2deg); }
.float-card-bottom { bottom: -6px; left: -24px; transform: rotate(2deg); }
.float-mark, .float-calendar { display: grid; place-items: center; flex: 0 0 31px; height: 31px; border-radius: 7px; background: #dcf7eb; color: #158d74; font-weight: 720; }
.float-calendar { background: #eaf3fe; color: #3d80b8; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px 28px; border-top: 1px solid #deeceb; color: #55747f; font-size: .67rem; font-weight: 710; letter-spacing: .11em; }
.hero-bottom .rule { width: 29px; height: 1px; background: #a7c3c5; }
.section { padding-block: 110px; }
.kicker { display: block; color: #138e82; margin-bottom: 20px; }
.section-heading { max-width: 720px; margin-bottom: 49px; }
.section-heading h2 { max-width: 700px; }
.section-heading p { font-size: 1.03rem; max-width: 630px; margin-top: 19px; line-height: 1.78; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.feature { padding: 34px 29px; min-height: 325px; border: 1px solid var(--border); border-radius: 15px; background: #fff; box-shadow: 0 6px 31px rgba(14,40,70,.025); transition: transform 180ms, box-shadow 180ms; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(14,40,70,.06); }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; font-size: 1.6rem; font-weight: 450; }
.icon-one { background: #e9f8f4; color: #0d9e8d; }
.icon-two { background: #edf3ff; color: #5b85c5; }
.icon-three { background: #f3effb; color: #8c6ac6; }
.feature-count { display: block; margin-top: 24px; color: #8ca0ab; font-size: .66rem; letter-spacing: .12em; font-weight: 710; }
.feature h3 { margin: 8px 0 12px; }
.feature p { font-size: .91rem; line-height: 1.73; }
.journey-section { background: #f7fafb; }
.journey-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.05fr); gap: clamp(60px,10vw,180px); }
.journey-intro h2 { max-width: 450px; }
.journey-intro > p { margin-top: 22px; max-width: 400px; font-size: 1rem; line-height: 1.75; }
.journey-intro .journey-small { color: #7b8997; font-size: .89rem; }
.subtle-line { width: 46px; height: 3px; border-radius: 4px; margin-top: 35px; background: var(--teal); }
.steps { padding: 13px 0; }
.step { display: grid; grid-template-columns: 47px 1fr; gap: 26px; position: relative; padding: 18px 0 42px; }
.step:not(:last-of-type)::before { content: ""; position: absolute; top: 51px; bottom: -7px; left: 22px; width: 1px; background: #c8dfde; }
.step-num { position: relative; display: grid; place-items: center; height: 47px; background: #e6f7f2; color: #0b9486; font-size: .84rem; font-weight: 750; border: 1px solid #bfe7dd; border-radius: 50%; }
.step h3 { margin: 3px 0 10px; }
.step p { font-size: .94rem; line-height: 1.74; }
.steps-caption { font-size: .78rem; color: #78909a; padding-left: 73px; margin-top: -4px; }
.assurance-section { background: linear-gradient(135deg,#082747,#0c3d53 76%,#0b5558); color: #fff; }
.assurance-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: min(9vw,125px); align-items: center; }
.kicker-light { color: #71e3cb; }
.assurance-grid h2 { max-width: 470px; }
.assurance-grid h2 em { color: #7cebd4; }
.assurance-grid > div > p { color: #d0e2e7; font-size: 1.01rem; margin-top: 24px; line-height: 1.85; max-width: 500px; }
.assurance-grid .assurance-note { font-size: .84rem; opacity: .85; margin-top: 14px; }
.boundary-box { border: 1px solid rgba(157,224,216,.28); background: rgba(255,255,255,.07); border-radius: 16px; padding: 34px; box-shadow: 0 18px 50px #001b2b22; }
.boundary-top { display: block; color: #80e9d4; letter-spacing: .11em; font-size: .69rem; font-weight: 740; margin-bottom: 20px; }
.boundary-box h3 { font-size: 1.48rem; }
.boundary-box p { margin-top: 16px; color: #d7e9ea; font-size: .95rem; line-height: 1.82; }
.boundary-bottom { display: flex; align-items: center; gap: 12px; border-top: 1px solid #ffffff36; margin-top: 27px; padding-top: 21px; font-size: .79rem; color: #d1eee8; }
.small-tick { color: #74eed2; font-weight: 780; font-size: 1.15rem; }
.faq-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.1fr); gap: min(9vw,145px); }
.faq-grid > div:first-child p { font-size: 1rem; line-height: 1.78; margin-top: 20px; max-width: 310px; }
.faq-items { border-top: 1px solid var(--border); }
.faq-items details { border-bottom: 1px solid var(--border); }
.faq-items summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 640; font-size: .98rem; color: var(--navy); }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary::after { content: "+"; font-size: 1.5rem; line-height: 1; font-weight: 350; color: var(--teal); }
.faq-items details[open] summary::after { content: "−"; }
.faq-items details p { padding: 0 33px 22px 0; font-size: .94rem; line-height: 1.78; }
.close-section { padding-block: 91px 100px; text-align: center; background: #edf9f5; }
.close-inner { max-width: 730px; }
.close-inner h2 { color: var(--navy); }
.close-inner p { font-size: 1.03rem; margin: 20px auto 25px; max-width: 530px; line-height: 1.73; }
.close-inner .button { margin-inline: auto; }
.close-inner .close-note { font-size: .75rem; color: #678179; margin-bottom: 0; margin-top: 16px; }
.site-footer { background: #fff; }
.footer-main { display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 35px; padding-block: 46px; }
.footer-brand img { width: 161px; max-height: 50px; object-fit: contain; }
.footer-main p { font-size: .86rem; max-width: 345px; line-height: 1.65; }
.footer-links { display: flex; gap: 23px; flex-wrap: wrap; }
.footer-links a { font-size: .83rem; text-decoration: none; color: #456274; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid #e9eef2; padding-block: 18px 25px; color: #7b8b98; font-size: .73rem; }
.footer-bottom a { color: inherit; }
.legal-main { background: #f8fafb; padding-block: 85px 100px; }
.legal-wrap { max-width: 760px; }
.legal-wrap h1 { font-size: clamp(2.55rem,4vw,3.7rem); }
.legal-intro { font-size: 1.06rem; margin-top: 20px; line-height: 1.85; }
.legal-wrap section { border-top: 1px solid #e0eaf0; padding-top: 28px; margin-top: 37px; }
.legal-wrap h2 { font-size: 1.45rem; letter-spacing: -.025em; }
.legal-wrap section p { margin-top: 14px; line-height: 1.85; }
.legal-wrap a { color: #087b78; text-underline-offset: 3px; }
.legal-note { border-left: 3px solid var(--teal); background: #ebf7f3; border-radius: 0 8px 8px 0; color: #375c63; padding: 17px 22px; font-size: .92rem; margin: 35px 0; }
.text-back { font-weight: 650; }
/* Desktop-only visual review: keep the headline together, move it higher and
   bring the visual slightly lower. Tablet/mobile remain unchanged. */
@media (min-width: 851px) {
  .hero-grid { grid-template-columns: minmax(0,1.11fr) minmax(0,1fr); gap: clamp(26px,3.4vw,53px); align-items: start; }
  .hero-copy > .eyebrow { display: none; }
  .hero-copy h1 { font-size: clamp(2.6rem,3.9vw,4rem); }
  .hero-copy h1 em { white-space: nowrap; }
  .hero-art { transform: translateY(26px); }
}
@media (max-width: 1100px) {
  .hero-grid { gap: 27px; }
  .hero-art { padding-inline: 2px; }
  .float-card-top { right: -5px; }
  .float-card-bottom { left: -7px; }
  .record-pill { display: none; }
  .footer-main { grid-template-columns: 170px 1fr; }
  .footer-links { grid-column: 2; }
}
@media (max-width: 850px) {
  .container { width: min(700px,calc(100% - 44px)); }
  .desktop-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 74px 50px; gap: 56px; }
  .hero-copy h1 { max-width: 630px; }
  .hero-art { max-width: 580px; width: 100%; margin-inline: auto; }
  .hero-bottom { justify-content: center; flex-wrap: wrap; row-gap: 11px; text-align: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; padding: 27px; }
  .journey-layout, .assurance-grid, .faq-grid { grid-template-columns: 1fr; gap: 45px; }
  .section { padding-block: 78px; }
  .journey-intro h2 { max-width: 640px; }
  .steps-caption { padding-left: 73px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main p { max-width: unset; }
  .footer-links { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  body { min-width: 0; }
  .container { width: calc(100% - 38px); }
  .nav-inner { min-height: 69px; }
  .brand img { width: 137px; }
  .nav-link { font-size: .75rem; padding: 10px 11px; }
  .hero-grid { padding-top: 58px; gap: 41px; }
  .hero-copy h1 { font-size: clamp(2.37rem,9.7vw,3.2rem); }
  .eyebrow { font-size: .6rem; letter-spacing: .12em; }
  .hero-lead { margin-top: 24px; font-size: 1.08rem; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-footnote { font-size: .75rem; }
  .hero-art { padding: 19px 0 23px; }
  .app-surface { transform: none; }
  .app-topbar { padding: 11px 12px; }
  .app-body { padding: 18px 12px; }
  .app-topright { font-size: .52rem; }
  .mini-stats { gap: 5px; }
  .mini-stats > div { padding: 9px 6px; }
  .mini-stats strong { font-size: .56rem; }
  .mini-stats small { font-size: .52rem; }
  .app-greeting h2 { font-size: 1.14rem; }
  .record-text small { font-size: .52rem; }
  .float-card { display: none; }
  .art-orbit { display: none; }
  .hero-bottom { font-size: .6rem; line-height: 1.6; padding-top: 14px; }
  .hero-bottom .rule { width: 9px; }
  .section { padding-block: 65px; }
  .section-heading { margin-bottom: 35px; }
  .feature { padding: 25px 22px; }
  .steps-caption { font-size: .71rem; }
  .boundary-box { padding: 25px 21px; }
  .close-section { padding-block: 68px; }
  .footer-main { grid-template-columns: 1fr; gap: 21px; }
  .footer-links { grid-column: 1; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .legal-main { padding-block: 60px 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}