@import url('./typography.css');

/* Shared design tokens. Interaction states live in interactions.css. */
:root{color-scheme:light;--paper:#fffefa;--ink:#344b50;--muted:#58686b;--line:#e3e9e6;--green:#e5edbb;--club:#f6f5e9;--lab:#edf3f1;--focus:#69428b;color:var(--ink);background:var(--paper);font-synthesis:none;scroll-behavior:smooth}
*{box-sizing:border-box}
body{margin:0;font-size:18px;line-height:1.65}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:5px}
a:focus-visible{outline:3px solid var(--focus);outline-offset:6px;border-radius:4px}
p{line-height:1.7;margin:0 0 20px}
h1,h2,h3{font-weight:400;margin:0}
h2{font-size:clamp(2rem,3.4vw,3rem);line-height:1.16;letter-spacing:-.04em;text-wrap:balance}
h2 em,.hero h1 em{color:#46645e;font-weight:550}
.page{max-width:1360px;margin:auto;padding:0 56px}
.skip{position:fixed;left:20px;top:-100px;z-index:10;background:var(--ink);color:white;padding:16px}
.skip:focus{top:16px}
.section{padding:70px 0;scroll-margin-top:24px}
.eyebrow{display:table;max-width:100%;padding:6px 11px;border-radius:8px;background:#faf2bd;color:var(--ink);font-size:13px;font-weight:600;letter-spacing:.06em;line-height:1.6;margin-bottom:27px}

/* Header and buttons */
.header{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{font-size:48px;font-weight:600;letter-spacing:-3px;line-height:1}
.brand span{color:#879d6b}
.brand:hover{text-decoration:none}
nav{display:flex;flex-wrap:wrap;gap:32px}
nav a{min-height:44px;display:inline-flex;align-items:center;gap:14px;font-size:16px;font-weight:500}
.button{display:inline-flex;align-items:center;gap:20px;background:var(--ink);color:var(--paper);padding:13px 20px;border-radius:50px;min-height:50px;margin-top:12px;font-size:16px;font-weight:600;line-height:1.5}
.button:hover{background:#233b40;text-decoration:none}
.button.secondary{background:transparent;color:var(--ink);border:1px solid #829692}
.button.secondary:hover{background:#e4ebe2}
button.button{border:0;cursor:pointer}
button:disabled{opacity:.65;cursor:wait}

/* First screen and the interactive sphere */
.hero{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:38px;padding:64px 54px 72px;background:radial-gradient(ellipse at 80% 28%,#dbe7f4 0,transparent 53%),radial-gradient(ellipse at 86% 90%,#f3dfdf 0,transparent 45%),radial-gradient(ellipse at 46% 74%,#edf2dd 0,transparent 57%),#f8f8f2;border-radius:28px;min-height:560px}
.hero h1{font-size:clamp(3rem,5.3vw,4.8rem);font-weight:450;line-height:1.06;letter-spacing:-.05em;margin-bottom:28px}
.hero .lead{font-size:20px;max-width:470px;color:var(--muted);line-height:1.65}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:25px}
.hero-actions .button{margin-top:0}
.up-stage{position:relative;display:grid;place-items:center;min-height:370px;isolation:isolate}
.up-stage:hover{text-decoration:none}
.up{display:grid;place-items:center;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle at 28% 22%,#fcffeb,#e5edbb 55%,#c5d39d);color:#344629;font:italic 125px Georgia,serif;letter-spacing:-10px;box-shadow:inset 2px 3px 5px #ffffff99,5px 8px 0 #b8c89b,10px 20px 35px #354c3b15;transform:rotate(-13deg)}
.up-orbit{position:absolute;width:100%;height:70%;border:1px solid #d4ddc8;border-radius:50%;transform:rotate(-25deg);z-index:-1}
.art-label{position:absolute;background:white;padding:13px 18px;border-radius:30px;font-size:14px;box-shadow:0 6px 22px #24401e08}
.first{left:0;top:37px;transform:rotate(-7deg)}
.second{right:-4px;bottom:60px;transform:rotate(6deg)}
.art-caption{position:absolute;bottom:0;font-size:13px;color:#465c57}

/* Products and company story */
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:38px}
.section-heading>p{color:var(--muted);font-size:18px;line-height:1.65;margin-bottom:3px}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.product{border-radius:24px;padding:40px;display:flex;flex-direction:column;scroll-margin-top:24px;border:1px solid #e4e7df}
.club{background:var(--club)}
.lab{background:var(--lab)}
.product-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:20px}
.product-type{font-size:12px;font-weight:600;letter-spacing:.09em;background:#ffffffb0;padding:8px 11px;border-radius:30px;line-height:1.6}
.product-mark{display:grid;place-items:center;width:64px;height:44px;flex-shrink:0;border:1px solid #9cad985c;border-radius:50%;font:italic 36px Georgia,serif;letter-spacing:-3px;transform:rotate(-12deg)}
.product h3{font-size:24px;font-weight:600;line-height:1.35;margin-bottom:22px}
.product-promise{font-size:40px;letter-spacing:-.04em;line-height:1.16;margin-bottom:24px}
.product-promise em{font-weight:500}
.product>p:not(.product-promise){font-size:18px;color:#50534d;line-height:1.7}
.product ul{list-style:none;padding:0;margin:0 0 22px}
.product li{padding:13px 0;border-bottom:1px solid #344b5026;font-size:18px;line-height:1.7}
.product>p.product-status{font-size:15px;color:var(--muted);margin:auto 0 14px}
.product-link{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:48px;padding-top:8px;font-weight:600;font-size:16px;line-height:1.5}
.availability{font-size:16px;color:var(--muted);max-width:700px;margin:25px 0 0}
.about{display:grid;grid-template-columns:1fr 1.2fr;gap:70px;align-items:start;padding-top:30px}
.about-copy{padding-left:38px;border-left:1px solid #d9e2dd}
.about-copy p{font-size:18px;color:var(--muted);line-height:1.7}
.about-copy p:first-child{font-size:22px;color:var(--ink);line-height:1.6}
.about-copy p:last-child{margin-bottom:0}

/* Contact: DOM order is introduction, form, alternative addresses. */
.contact{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-areas:'intro fields' 'emails fields';grid-template-rows:auto 1fr;column-gap:64px;row-gap:20px;align-items:start;background:#f4f5ef;border-radius:26px;margin:20px 0 64px;padding:48px}
.contact-intro{grid-area:intro}
.contact-intro>p{max-width:370px;font-size:18px;line-height:1.7;color:var(--muted)}
.contact-intro .eyebrow{font-size:13px;color:var(--ink);background:#fffcdf}
.contact h2{margin-bottom:24px}
.contact-intro .contact-person,.contact-intro .contact-next{font-size:16px}
.contact-intro .contact-next{margin-bottom:0}
.contact-fields{grid-area:fields;min-width:0;scroll-margin-top:28px}
.contact-emails{grid-area:emails;padding-top:20px;border-top:1px solid #d9e2dd}
.contact-address{margin-top:16px;min-width:0}
.contact-label{display:block;font-size:15px;line-height:1.7;color:var(--muted);margin-bottom:0}
.email{display:inline-flex;align-items:center;gap:20px;min-height:44px;font-size:20px;border-bottom:1px solid #879b94;margin-top:2px;max-width:100%;overflow-wrap:anywhere}
form{min-width:0}
form>label{display:block;margin:28px 0 16px;font-size:17px;line-height:1.5;font-weight:600}
form>label:first-child{margin-top:0}
input,select,textarea{font:inherit;font-size:18px;line-height:1.5;color:var(--ink);background:var(--paper);border:1px solid #86958d;border-radius:12px;width:100%;padding:17px 20px;min-height:60px}
textarea{resize:vertical;min-height:160px}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,#form-status:focus{outline:3px solid var(--focus);outline-offset:5px}
.contact-fields:focus-visible{outline:3px solid var(--focus);outline-offset:12px;border-radius:8px}
.contact-fields .button{min-width:200px;justify-content:center;padding:15px 24px;margin-top:20px}
.form-note{font-size:15px;line-height:1.7;margin:16px 0;color:var(--muted)}
.form-note a,.form-check a,.legal-copy a{text-decoration:underline;text-underline-offset:3px}
.form-check{display:flex;align-items:flex-start;gap:14px;font-size:15px;font-weight:400;line-height:1.7}
.form-check input{width:22px;min-height:22px;height:22px;flex-shrink:0;margin:2px 0 0;padding:0;accent-color:var(--ink)}
#form-status{margin:20px 0;line-height:1.65;overflow-wrap:anywhere}
#form-status:empty{margin:0}
.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* Company details, footer and legal pages */
.company-footer{display:grid;grid-template-columns:1fr 1fr;gap:10px 48px;border-top:1px solid #dce3de;padding:36px 0}
.company-footer .eyebrow{grid-column:1/-1;margin:0 0 12px;background:none;padding:0}
.company-footer h2{font-size:24px;margin:0}
.company-footer .legal-name{grid-column:1;font-size:15px;margin:0}
address{grid-column:1;font-style:normal;font-size:15px;line-height:1.7;margin:8px 0 0}
.company-footer dl{grid-column:2;grid-row:2/5;margin:0}
dl>div{display:flex;justify-content:space-between;gap:24px;padding:10px 0;border-top:1px solid #d4dbce;font-size:16px;line-height:1.5}
dt{color:var(--muted);font-size:15px}
dd{margin:0;text-align:right}
.company-footer .court{grid-column:2;font-size:15px;line-height:1.7;margin:0}
footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 0}
footer p,footer>a:last-child{font-size:15px;margin:0;color:var(--muted)}
.footer-brand{font-size:33px;letter-spacing:-2px}
footer>a{min-height:44px;display:inline-flex;align-items:center}
.legal-nav{gap:28px;padding-bottom:32px}
.legal-nav a{font-size:15px;min-height:44px;line-height:1.7}
.legal-copy{max-width:800px;margin:auto;padding:48px 0;overflow-wrap:anywhere;font-size:18px;line-height:1.75}
.legal-copy h1{font-size:clamp(2rem,5vw,3.5rem);margin-bottom:22px}
.legal-copy h2{font-size:25px;font-weight:500;letter-spacing:0;margin:32px 0 15px}
.legal-copy li{line-height:1.7;margin-bottom:10px}

@media(max-width:1000px){
 .page{padding:0 32px}
 .hero{padding:44px 32px;gap:24px;min-height:500px}
 .up{width:210px;height:210px;font-size:100px}
 .up-stage{min-height:320px}
 .first{top:24px}.second{bottom:55px}
 .about{gap:32px}.contact{padding:34px;column-gap:32px}
 .product{padding:30px}.product-promise{font-size:35px}
}
@media(max-width:700px){
 .page{padding:0 20px}.header{min-height:90px;gap:12px}.brand{font-size:38px}
 .header nav{gap:12px}.header nav a span{display:none}
 .hero{grid-template-columns:1fr;padding:32px 24px 26px;gap:26px;border-radius:22px}
 .hero h1{font-size:clamp(2.55rem,10.2vw,3.8rem)}.hero .lead{font-size:18px}.hero .eyebrow{font-size:12px}
 .hero-actions{gap:10px;margin-top:24px}
 .up-stage{min-height:280px;width:min(100%,340px);margin:auto}.up{width:190px;height:190px;font-size:95px}
 .first{left:-5px;top:12px}.second{right:-5px;bottom:43px}.art-label{font-size:13px;padding:10px 12px}.art-caption{font-size:12px}
 .section{padding:46px 0}.eyebrow{margin-bottom:22px}
 .section-heading{display:block;margin-bottom:26px}.section-heading>p{margin-top:20px}
 .about,.product-grid{grid-template-columns:1fr}.about{gap:26px;padding-top:12px}
 .about-copy{padding:0;border:0}.about-copy p:first-child{font-size:20px}
 .product{padding:28px}.product-promise{font-size:34px}.product-type{letter-spacing:.03em}.product-top{gap:12px}
 .contact{grid-template-columns:1fr;grid-template-areas:'intro' 'fields' 'emails';grid-template-rows:auto;padding:28px 22px;row-gap:28px;margin-bottom:36px}
 .contact h2{margin-bottom:20px}.email{font-size:18px}
 .company-footer{grid-template-columns:1fr;gap:10px;padding:28px 0}
 .company-footer :is(.eyebrow,.legal-name,address,dl,.court){grid-column:1;grid-row:auto}.company-footer dl{margin-top:14px}
 footer{flex-wrap:wrap;gap:10px 20px}footer>a:last-child{flex-basis:100%}
 .legal-nav{display:block}.legal-nav a{display:block}.legal-copy{padding:32px 0}
}
@media(max-width:420px){
 .header{flex-wrap:wrap;padding:18px 0 12px;gap:10px;min-height:0}
 .header nav{width:100%;justify-content:space-between;gap:10px}
 .product{padding:24px}.hero-actions .button{padding:13px 16px}
}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*{transition:none!important}}
