/* Sahaswi – sahaswi.com
   The company as the ground under a sunrise: each business is a layer of earth, with its own colour and its own
   contact. Top to bottom: Quantum Healing (sand), social media (ochre), the apps (four thin layers), insurance
   investigation (the basalt bedrock).
   Display: Sahaswi Cond (TeX Gyre Heros Condensed). Text: Sahaswi Text (TeX Gyre Schola).
   Both are subsets of the TeX Gyre fonts, under the GUST Font License (see /assets/fonts/). */

@font-face { font-family: "Sahaswi Cond"; src: url("/assets/fonts/sahaswi-cond-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Sahaswi Cond"; src: url("/assets/fonts/sahaswi-cond-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sahaswi Text"; src: url("/assets/fonts/sahaswi-text-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sahaswi Text"; src: url("/assets/fonts/sahaswi-text-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Sahaswi Text"; src: url("/assets/fonts/sahaswi-text-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #13293D;
  --ink-soft: #4A5A69;
  --paper: #FFFFFF;
  --mist: #EEF1F2;
  --rule: #D3DADF;
  --sky-top: #E8EFF1;
  --sand: #E9D6AE;
  --ochre: #D9A441;
  --laterite: #A9492A;
  --rust: #8C3A22;
  --plum: #6B2B49;
  --indigo: #38346D;
  --teal: #2C5D63;
  --basalt: #13293D;
  --deep: #0C1C2B;
  --sun: #F2C46A;
  --cond: "Sahaswi Cond", "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
  --text: "Sahaswi Text", "Century Schoolbook", "New Century Schoolbook", Georgia, serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --edge: 34px;
  --edge-thin: 22px;
  /* a fine grain, so the layers read as earth rather than flat colour */
  --grain-d: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  .11 0 0 0 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  --grain-l: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  .07 0 0 0 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.6 var(--text); font-kerning: normal; }
img, svg { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--laterite); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; margin: 0; letter-spacing: -0.01em; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 30; background: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- layers ---------- */
.layer { position: relative; }
.c-paper    { --c: var(--paper); background-color: var(--paper); }
.c-sky      { --c: var(--sky-top); background: linear-gradient(180deg, var(--sky-top), #FBFAF6); }
.c-sand     { --c: var(--sand);     --soft: #3C4A57; --line: rgba(19, 41, 61, .22); background-color: var(--sand); color: var(--ink); }
.c-ochre    { --c: var(--ochre);    --soft: #2B3B4A; --line: rgba(19, 41, 61, .26); background-color: var(--ochre); color: var(--ink); }
.c-laterite { --c: var(--laterite); --soft: #FBE9E2; --line: rgba(255, 255, 255, .3); background-color: var(--laterite); color: #fff; }
.c-rust     { --c: var(--rust);     --soft: #F6E1D8; --line: rgba(255, 255, 255, .26); background-color: var(--rust); color: #fff; }
.c-plum     { --c: var(--plum);     --soft: #EBD3DD; --line: rgba(255, 255, 255, .24); background-color: var(--plum); color: #fff; }
.c-indigo   { --c: var(--indigo);   --soft: #D6D4EE; --line: rgba(255, 255, 255, .24); background-color: var(--indigo); color: #fff; }
.c-teal     { --c: var(--teal);     --soft: #D2E6E4; --line: rgba(255, 255, 255, .24); background-color: var(--teal); color: #fff; }
.c-basalt   { --c: var(--basalt);   --soft: #C5D2DD; --line: rgba(255, 255, 255, .2); background-color: var(--basalt); color: #fff; }
.c-deep     { --c: var(--deep);     --soft: #B7C4D0; --line: rgba(255, 255, 255, .16); background-color: var(--deep); color: #fff; }
.c-sand, .c-ochre { background-image: var(--grain-d); --c-edge: color-mix(in srgb, var(--c) 94.6%, #000); }
.c-laterite, .c-rust, .c-plum, .c-indigo, .c-teal, .c-basalt, .c-deep { background-image: var(--grain-l); --c-edge: color-mix(in srgb, var(--c) 96.6%, #fff); }
.c-laterite :focus-visible, .c-rust :focus-visible, .c-plum :focus-visible, .c-indigo :focus-visible,
.c-teal :focus-visible, .c-basalt :focus-visible, .c-deep :focus-visible { outline-color: #fff; }

.edge { position: absolute; left: 0; width: 100%; height: var(--edge); top: calc(1px - var(--edge)); pointer-events: none; }
.edge.thin { height: var(--edge-thin); top: calc(1px - var(--edge-thin)); }
.edge .f { fill: var(--c-edge, var(--c)); }
.edge .l { fill: none; stroke: rgba(12, 28, 43, 0.24); stroke-width: 1; vector-effect: non-scaling-stroke; }
.edge .b { fill: none; stroke: rgba(12, 28, 43, 0.08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.c-laterite .edge .b, .c-rust .edge .b, .c-plum .edge .b, .c-indigo .edge .b, .c-teal .edge .b, .c-basalt .edge .b, .c-deep .edge .b { stroke: rgba(255, 255, 255, 0.07); }

/* ---------- header ---------- */
.top { position: relative; z-index: 5; background: var(--paper); }
.top.over { background: var(--sky-top); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; font: 700 1.65rem/1 var(--cond); letter-spacing: -0.01em; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 2px; font: 400 1.0625rem/1 var(--cond); }
.nav a, .menu nav a { text-decoration: none; padding: 10px 11px; border-radius: 3px; }
.nav a:hover, .menu nav a:hover { background: rgba(19, 41, 61, .07); }
.nav a[aria-current="page"], .menu nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.nav a.staff { margin-left: 10px; border: 1px solid var(--rule); color: var(--ink-soft); background: rgba(255, 255, 255, .6); }
.nav a.staff:hover { border-color: var(--ink-soft); color: var(--ink); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 3px; font: 700 1.0625rem/1 var(--cond); background: var(--paper); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; display: flex; flex-direction: column; padding: 6px;
            background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 14px 34px rgba(12, 28, 43, 0.18); font: 400 1.125rem/1.2 var(--cond); }
.menu nav a.staff { margin-top: 6px; border-top: 1px solid var(--rule); border-radius: 0; color: var(--ink-soft); }
@media (max-width: 1060px) { .nav { display: none; } .menu { display: block; } }

/* ---------- home: the sky and the sun ---------- */
.sky { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-top) 0%, #F4F6F4 55%, #FBF6EA 100%);
       padding: clamp(24px, 5vw, 64px) 0 clamp(170px, 19vw, 280px); }
.sun-wrap { position: absolute; z-index: 0; width: clamp(360px, 50vw, 780px); aspect-ratio: 1; right: clamp(-140px, -5vw, -20px); bottom: clamp(-330px, -21vw, -150px);
            animation: rise 2.4s cubic-bezier(.2, .7, .2, 1) .15s both; }
.sun { width: 100%; height: 100%; }
@keyframes rise { from { transform: translateY(16%); opacity: .55; } to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sun-wrap { animation: none; } }
.sky-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.wordmark { font-size: clamp(5.6rem, 1.6rem + 14vw, 14.5rem); line-height: 0.8; letter-spacing: -0.04em; margin-left: -0.05em; }
.sky .lede { margin-top: clamp(20px, 2.6vw, 34px); max-width: 44ch; font-size: clamp(1.15rem, 1rem + 0.55vw, 1.4rem); line-height: 1.5; color: var(--ink-soft); }
.legend-box { background: rgba(255, 255, 255, .86); border: 1px solid rgba(19, 41, 61, .16); border-radius: 4px; padding: 16px 20px 6px; box-shadow: 0 18px 40px -26px rgba(12, 28, 43, .45); }
.legend-title { font: 400 1rem/1.3 var(--cond); color: var(--ink-soft); padding-bottom: 10px; }
.legend-box li a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1px 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.legend-box li a:hover .lg-n { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.legend-box .sw { width: 44px; height: 30px; grid-row: span 2; }
.lg-n { font: 700 1.3rem/1.1 var(--cond); }
.lg-k { font: 400 0.95rem/1.25 var(--cond); color: var(--ink-soft); }

/* ---------- the business layers ---------- */
.grp { padding: clamp(72px, 9vw, 136px) 0 clamp(84px, 10vw, 150px); }
.grp-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 40px clamp(36px, 6vw, 104px); align-items: center; }
.grp-grid.art-right { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.kind { font: 400 1.125rem/1.3 var(--cond); color: var(--soft, var(--ink-soft)); margin-bottom: 12px; }
.grp h2 { font-size: clamp(2.8rem, 1.4rem + 4vw, 5.3rem); line-height: 0.96; letter-spacing: -0.025em; max-width: 13ch; }
.grp .lede, .page-hero .lede { margin-top: 22px; max-width: 46ch; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; }
.feats { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 44px); }
.feats li { padding: 16px 0 18px; border-top: 1px solid var(--line, var(--rule)); }
.feats h3 { font-size: 1.3rem; line-height: 1.2; }
.feats p { margin-top: 6px; font-size: 1rem; line-height: 1.5; color: var(--soft, var(--ink-soft)); }
.feats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feats.ruled li { border-top: 3px solid var(--ink); }
.note { margin-top: 18px; font-size: 0.98rem; font-style: italic; color: var(--soft); max-width: 52ch; }
.grp-art { display: flex; justify-content: center; }
.art { width: 100%; max-width: 520px; height: auto; }

.meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 44px; font-size: 1rem; line-height: 1.5; }
.meta dt { font: 400 0.98rem/1.3 var(--cond); color: var(--soft, var(--ink-soft)); }
.meta dd { margin-top: 3px; overflow-wrap: anywhere; }
.tbc { display: inline-block; padding: 0 8px; border: 1px dashed currentColor; border-radius: 3px; font-style: italic; }

/* healing: the ripple breathes slowly; the motes drift round */
.ripple .ring { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.ripple .r0 { stroke-opacity: .6; } .ripple .r1 { stroke-opacity: .45; } .ripple .r2 { stroke-opacity: .32; } .ripple .r3 { stroke-opacity: .2; } .ripple .r4 { stroke-opacity: .12; }
.ripple .mote { fill: var(--laterite); }
.ripple .core-dot { fill: var(--ochre); }
.ripple .breathe, .ripple .orbit { transform-box: view-box; transform-origin: 50% 50%; }
.ripple .breathe { animation: breathe 9s ease-in-out infinite; }
.ripple .orbit { animation: orbit 120s linear infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.96); } 50% { transform: scale(1.03); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ripple .breathe, .ripple .orbit { animation: none; } }

/* social media: phone and posting plan */
.phone .t-h { font: 700 21px var(--cond); fill: var(--ink); }
.phone .t-s { font: 400 15px var(--cond); fill: var(--ink-soft); }
.phone .t-r text { font: 700 17px var(--cond); fill: var(--ink); }
.phone .t-r .t-p { font: 400 17px var(--text); fill: var(--ink-soft); }
.phone .plancard { filter: drop-shadow(10px 12px 0 rgba(12, 28, 43, .14)); }

/* apps */
.apps-head { padding: clamp(64px, 7vw, 108px) 0 clamp(40px, 4.5vw, 64px); }
.apps-head-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; }
.apps-head h2 { max-width: none; }
.apps-head .lede { margin-top: 0; }
.apps-head .lede a { white-space: nowrap; }
.lam { padding: clamp(34px, 4vw, 54px) 0 clamp(40px, 4.6vw, 62px); }
.lam-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr) minmax(0, 0.55fr); gap: 16px clamp(24px, 4vw, 64px); align-items: center; }
.lam-name { font-size: clamp(2.1rem, 1.2rem + 2.5vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; }
.lam-line { font-size: 1.15rem; line-height: 1.5; max-width: 50ch; }
.lam .meta { margin-top: 14px; }
.lam-art .mini, .app-art .mini { width: 100%; max-width: 260px; height: auto; margin-left: auto; }
.app-link { font-weight: 700; }

/* insurance on the bedrock */
.ins-grid .grp-copy h2 { max-width: 15ch; }
.btn.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn.btn-light:hover { background: var(--sand); border-color: var(--sand); }
.c-basalt .sheet { box-shadow: 14px 16px 0 -2px rgba(0, 0, 0, .28); }

/* how Sahaswi works */
.how-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.rules { border-top: 3px solid var(--ink); }
.rules div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.rules dt { font: 700 1.35rem/1.25 var(--cond); }
.rules dd { margin-top: 4px; color: var(--ink-soft); }

/* ---------- buttons and common sections ---------- */
.actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 2px solid currentColor; border-radius: 3px;
       color: inherit; background: transparent; font: 700 1.125rem/1 var(--cond); letter-spacing: 0.01em; text-decoration: none; }
.btn:hover { background: rgba(19, 41, 61, 0.07); }
.btn-solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--deep); border-color: var(--deep); }
.c-laterite .btn:not(.btn-light):hover, .c-rust .btn:not(.btn-light):hover, .c-plum .btn:not(.btn-light):hover, .c-indigo .btn:not(.btn-light):hover,
.c-teal .btn:not(.btn-light):hover, .c-basalt .btn:not(.btn-light):hover { background: rgba(255, 255, 255, 0.12); }

.section { padding: clamp(60px, 8vw, 110px) 0; }
.section.mist { background: var(--mist); }
.section h2 { font-size: clamp(2rem, 1.35rem + 1.9vw, 3.1rem); line-height: 1.04; letter-spacing: -0.015em; }
.intro-p { margin-top: 14px; max-width: 60ch; font-size: 1.1875rem; color: var(--ink-soft); }
.page-hero { padding: clamp(36px, 6vw, 88px) 0 clamp(90px, 10vw, 140px); }
.page-hero.plain { padding-bottom: clamp(70px, 8vw, 110px); }
.page-hero h1 { font-size: clamp(2.7rem, 1.4rem + 4vw, 5.2rem); line-height: 0.97; letter-spacing: -0.025em; max-width: 15ch; }
.crumbs { margin-bottom: 18px; font: 400 1.0625rem/1.3 var(--cond); color: var(--soft, var(--ink-soft)); }
.hero { overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.for { margin-top: 18px; font: 400 1.0625rem/1.4 var(--cond); color: var(--soft, var(--ink-soft)); }
.apps-hero { padding-bottom: clamp(70px, 8vw, 110px); }

.steps { margin: 40px 0 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.steps li { counter-increment: step; position: relative; padding-top: 66px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; font: 700 3rem/1 var(--cond); color: var(--laterite); }
.steps li::after { content: ""; position: absolute; top: 24px; left: 44px; right: -18px; border-top: 1px solid var(--rule); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.375rem; line-height: 1.15; }
.steps p { margin-top: 8px; color: var(--ink-soft); }

.coverage { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.regions { margin-top: 26px; border-top: 3px solid var(--ink); }
.regions li { padding: 13px 0; border-bottom: 1px solid var(--rule); font: 700 1.4rem/1.2 var(--cond); }
.map-fig figcaption { margin-top: 10px; font: 400 0.98rem/1.3 var(--cond); color: var(--ink-soft); }
.map { width: 100%; height: auto; background: #F7F8F6; border: 1px solid var(--rule); border-radius: 4px; }
.map .sea { fill: #DCE8EE; }
.map .coast { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.map .town { fill: var(--laterite); stroke: #fff; stroke-width: 2; }
.map .tl { font: 400 14px var(--cond); fill: var(--ink); paint-order: stroke; stroke: rgba(247, 248, 246, .9); stroke-width: 3px; }
.map .bay { font: italic 15px var(--text); fill: #50697C; }

.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.contact-box { display: grid; gap: 14px; justify-items: start; padding: 26px; background: var(--mist); border-radius: 4px; }
.section.mist .contact-box { background: var(--paper); }
.contact-box p { overflow-wrap: anywhere; }
.staff-note { margin-top: 6px; font-size: 1rem; color: var(--ink-soft); }

/* the report sheet (insurance) */
.sheet { position: relative; width: 100%; max-width: 540px; background: var(--paper); color: var(--ink); border: 1px solid rgba(12, 28, 43, 0.18); border-radius: 3px;
         padding: 28px 30px 126px; box-shadow: 10px 12px 0 -2px rgba(12, 28, 43, 0.12); }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.sheet-title { font: 700 1.6rem/1.1 var(--cond); }
.sheet-ref { font: 400 1rem/1.2 var(--cond); color: var(--ink-soft); }
.sheet-rows div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.sheet-rows div:last-child { border-bottom: 0; }
.sheet-rows dt { font: 700 1.0625rem/1.35 var(--cond); }
.sheet-rows dd { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.45; }
.stamp { position: absolute; width: 132px; height: 132px; right: 16px; bottom: 8px; color: var(--laterite); opacity: 0.92; transform: rotate(-14deg);
         pointer-events: none; animation: stamp-in 0.55s cubic-bezier(.2, .9, .3, 1.15) 0.6s both; }
.stamp-ring { font: 700 15px/1 var(--cond); }
@keyframes stamp-in { 0% { opacity: 0; transform: rotate(-22deg) scale(1.7); } 70% { opacity: 0.94; transform: rotate(-13deg) scale(0.96); } 100% { opacity: 0.92; transform: rotate(-14deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .stamp { animation: none; } }

/* apps page */
.app { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px); }
.app-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px clamp(28px, 6vw, 96px); align-items: start; }
.app-name { font-size: clamp(2.7rem, 1.4rem + 4vw, 5.2rem); line-height: 0.96; letter-spacing: -0.025em; }
.app-where { margin-top: 14px; font: 400 1.1875rem/1.35 var(--cond); color: var(--soft); }
.app-art { margin-top: 28px; }
.app-art .mini { margin-left: 0; max-width: 300px; }
.app-desc { font-size: 1.2rem; line-height: 1.55; max-width: 50ch; }
.app-desc + .app-desc { margin-top: 14px; }

/* about, privacy */
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { max-width: 66ch; }
.prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.1vw, 2.3rem); line-height: 1.1; margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 16px; }
.prose .rules { margin-top: 18px; }
.prose a { color: var(--laterite); }
.side { position: sticky; top: 24px; padding: 24px; background: var(--mist); border-radius: 4px; }
.side .side-title { font-size: 1.5rem; }
.side p { margin-top: 12px; }

/* contact: the legend of the cross-section */
.legend-section { padding-top: clamp(56px, 7vw, 88px); }
.legend { border-top: 3px solid var(--ink); }
.legend li { display: grid; grid-template-columns: 56px minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 1.1fr); gap: 12px 28px; padding: 24px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.legend .swatch { width: 56px; height: 38px; margin-top: 2px; }
.lg-name h2 { font-size: 1.75rem; line-height: 1.05; }
.lg-name h2 a { text-decoration: none; }
.lg-name h2 a:hover { text-decoration: underline; }
.lg-name p { margin-top: 6px; font: 400 1.0625rem/1.35 var(--cond); color: var(--ink-soft); }
.lg-what { color: var(--ink-soft); }
.lg-mail p { overflow-wrap: anywhere; }
.lg-note { display: block; margin-top: 6px; font-size: 0.95rem; color: var(--ink-soft); }
.legend-section .staff-note { margin-top: 28px; }
.spacer { height: 120px; }

/* ---------- footer ---------- */
.foot { padding: 72px 0 34px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 36px clamp(32px, 6vw, 96px); }
.foot-brand p { margin-top: 16px; max-width: 34ch; color: var(--soft); font-size: 1rem; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fcol h2 { font: 400 1rem/1.3 var(--cond); color: var(--soft); margin-bottom: 10px; }
.fcol li { padding: 4px 0; }
.fcol a { font: 400 1.125rem/1.3 var(--cond); text-decoration: none; }
.fcol a:hover { text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 48px; padding-top: 18px;
              border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.95rem; color: var(--soft); }

/* ---------- smaller screens ---------- */
@media (max-width: 1060px) {
  .lam-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .lam-art { display: none; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2)::after { display: none; }
  .feats-3 { grid-template-columns: minmax(0, 1fr); }
  .legend li { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); }
  .lg-what { grid-column: 2; }
  .lg-mail { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 860px) {
  .sky-grid, .grp-grid, .grp-grid.art-right, .hero-grid, .coverage, .contact, .prose-grid, .app-grid, .apps-head-grid, .how-grid { grid-template-columns: minmax(0, 1fr); }
  .grp-grid.art-left .grp-art { order: 2; }
  .art { max-width: 340px; }
  .side { position: static; }
  .sheet { max-width: 480px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --edge: 22px; --edge-thin: 16px; }
  body { font-size: 1.0625rem; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .lam-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li::after { display: none; }
  .steps li { padding-top: 56px; }
  .sheet { padding: 22px 18px 112px; }
  .sheet-rows div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .stamp { width: 112px; height: 112px; }
  .actions .btn { flex: 1 1 auto; }
  .legend li { grid-template-columns: 44px minmax(0, 1fr); }
  .legend .swatch { width: 44px; height: 30px; }
  .lg-what, .lg-mail { grid-column: 2; grid-row: auto; }
  .wordmark { font-size: clamp(4.6rem, 1rem + 19vw, 6.4rem); }
  .sky { padding-bottom: 150px; }
  .sun-wrap { width: 380px; right: -110px; bottom: -190px; }
}

/* launch: short notes where details come later */
.soon { margin-top: 14px; font-size: 1.05rem; color: var(--soft, var(--ink-soft)); }
.heal-hero { padding-bottom: clamp(110px, 12vw, 170px); }
.heal-hero .meta { margin-top: 18px; }
.lg-soon { color: var(--ink-soft); font-style: italic; }
