/* SKM platform site: minimal, Apple-like. Inter for text, Poppins for headings. */
:root{
  /* white theme with a soft sage accent */
  --brand:#5f7d63;--on-brand:#fff;--brand-text:#4a654e;--ink:#121212;--muted:#6a6a6a;--line:#e6e6e6;--bg:#fff;--soft:#f6f6f6;--card:#fff;--raise:#efefef;--field:#fff;--radius:18px;
  --ok:#16a34a;--link:#4a654e;
  --font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --head:"Poppins","Inter",system-ui,sans-serif;
}
html{font-size:17px} /* rem-based sizes scale up a touch on the main site */
body{font-size:18px;line-height:1.6;letter-spacing:-.005em}
h1,h2,h3{font-family:var(--head);font-weight:600;letter-spacing:-.02em;color:var(--ink)}
h1{font-size:clamp(1.8rem,4vw,2.5rem)}
h3{font-size:1.2rem}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}

/* buttons: pill, calm */
.btn{border-radius:999px;font-weight:600;padding:12px 24px;transition:background .2s,filter .2s}
.btn.lg{padding:15px 30px;font-size:1.05rem}
.btn.sm{padding:8px 16px}
.btn.ghost{background:transparent;color:var(--ink);border-color:#c8c8c8}
.btn.ghost:hover{border-color:var(--ink);filter:none}
.btn:hover{transform:scale(1.03)}
.btn:hover{text-decoration:none}
.link{color:var(--link);text-decoration:none}

/* cards: soft, borderless */
.card{border:0;background:var(--soft);border-radius:var(--radius);padding:28px}
.badge{font-weight:500;font-size:.8rem;padding:4px 12px}
.badge.amber{background:#eef3ef;color:var(--brand-text)}

/* forms */
.field>label{font-weight:500;font-size:.92rem}
.field input:not([type=checkbox]):not([type=radio]):not([type=color]),.field select,.field textarea,.input{border-radius:12px;padding:13px 14px;border-color:#d4d4d4;background:var(--field)}
.field ul[id] label{background:#fff;border-color:#d4d4d4;border-radius:14px}

/* header */
.top{background:rgba(255,255,255,.85);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid rgba(0,0,0,.06);position:sticky;top:0;z-index:20}
.top .wrap{display:flex;align-items:center;justify-content:space-between;height:60px;gap:16px}
/* logo in Playwrite Italia Tradizionale (Google Fonts, SIL Open Font License) */
.logo{font-family:"Playwrite IT Trad",var(--head);font-weight:400;font-size:1.15rem;line-height:1;color:var(--ink);letter-spacing:0;white-space:nowrap}
.logo:hover{text-decoration:none}
.logo span{color:var(--brand)}
.top nav{display:flex;gap:22px;align-items:center;font-size:.95rem}
.top nav a{color:var(--ink)}
.top nav a.btn{color:var(--on-brand)}
.top nav form{margin:0}
@media(max-width:640px){.top nav a.hide-sm{display:none}.top nav{gap:14px}}

/* hero */
.hero{padding:56px 0 72px;text-align:center}
.hero h1{font-size:clamp(2.3rem,6vw,4rem);line-height:1.08;letter-spacing:-.035em;max-width:820px;margin:0 auto .4em}
.hero p.lead{font-size:clamp(1.1rem,2.2vw,1.35rem);color:var(--muted);max-width:620px;margin:0 auto}
.hero .cta{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:32px}
.hero .note{margin-top:18px;font-size:.9rem;color:var(--muted)}
.eyebrow{display:block;font-size:.95rem;font-weight:600;color:var(--brand-text);margin-bottom:14px}

/* devices: one device morphs phone -> tablet -> PC, its mini store reflowing to fit */
.devices{padding-top:0}
.dev-text{margin:36px auto 0}
.tick{display:inline-block;width:22px;height:22px;vertical-align:-4px;margin-left:4px;border-radius:50%;background:var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat}
.dev-stage{position:relative;height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center}
/* soft grey glow behind the device */
.dev-stage::before{content:"";position:absolute;left:50%;top:50%;width:min(420px,96vw);height:320px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,#dcdce0,rgba(220,220,224,.45) 55%,rgba(255,255,255,0));z-index:0}
.dev-neck,.dev-base{position:relative;z-index:1}
.dev{--w:132px;--h:262px;--r:28px;--p:8px;position:relative;width:var(--w);height:var(--h);padding:var(--p);border-radius:var(--r);
  z-index:1;background:#1d1d1f;box-shadow:0 40px 70px -24px rgba(0,0,0,.4),0 12px 30px rgba(0,0,0,.1),inset 0 0 0 2px #3a3a3c;
  transition:width .6s cubic-bezier(.7,0,.2,1),height .6s cubic-bezier(.7,0,.2,1),border-radius .6s,padding .6s}
.dev::before{content:"";position:absolute;top:13px;left:50%;width:34px;height:9px;margin-left:-17px;border-radius:9px;background:#1d1d1f;z-index:2;transition:opacity .4s}
.dev.is-tablet{--w:212px;--h:282px;--r:22px;--p:11px}
.dev.is-pc{--w:min(320px,84vw);--h:200px;--r:12px;--p:9px}
.dev:not(.is-phone)::before{opacity:0}
.dev-neck,.dev-base{background:linear-gradient(#d2d2d7,#b8b8bd);transition:transform .7s cubic-bezier(.2,.8,.2,1),opacity .5s;transform-origin:top;opacity:0}
.dev-neck{width:46px;height:34px;transform:scaleY(0);clip-path:polygon(18% 0,82% 0,100% 100%,0 100%)}
.dev-base{width:140px;height:8px;border-radius:0 0 8px 8px;transform:scaleX(0)}
.at-pc .dev-neck{opacity:1;transform:scaleY(1);transition-delay:.35s}
.at-pc .dev-base{opacity:1;transform:scaleX(1);transition-delay:.5s}
.dev-screen{height:100%;border-radius:calc(var(--r) - var(--p));overflow:hidden;background:#fff;transition:border-radius .6s}
.mini{height:100%;padding:18px 8px 8px;display:flex;flex-direction:column;gap:7px;transition:opacity .25s,transform .4s}
.dev:not(.is-phone) .mini{padding-top:8px}
.dev.swap .mini{opacity:0;transform:scale(.96)}
.mini-top{display:flex;justify-content:space-between;align-items:center}
.mini-top b{width:38%;height:7px;border-radius:4px;background:#1d1d1f}
.mini-top span{width:10px;height:10px;border-radius:50%;background:var(--brand)}
.mini-hero{border-radius:8px;background:#e8eee9;padding:10px 8px;display:flex;flex-direction:column;gap:5px}
.mini-hero em{display:block;height:6px;border-radius:3px;background:#4f6b53;width:70%}
.mini-hero em+em{width:45%;opacity:.5}
.mini-hero u{display:block;width:34px;height:10px;border-radius:9px;background:var(--brand);margin-top:3px}
.mini-grid{flex:1;display:grid;grid-template-columns:repeat(2,1fr);gap:6px;align-content:start;overflow:hidden}
.dev.is-tablet .mini-grid{grid-template-columns:repeat(3,1fr)}
.dev.is-pc .mini-grid{grid-template-columns:repeat(4,1fr)}
.mini-grid i{aspect-ratio:1;border-radius:6px;background:#f2f2f2;position:relative;animation:pop .5s both}
.mini-grid i::after{content:"";position:absolute;inset:22% 22% 30%;border-radius:4px;background:#c9d6cb}
.mini-grid i:nth-child(3n+2)::after{background:#a3b8a6}.mini-grid i:nth-child(3n)::after{background:#dfe7e0}
.dev:not(.swap) .mini-grid i:nth-child(1){animation-delay:.03s}.dev:not(.swap) .mini-grid i:nth-child(2){animation-delay:.06s}
.dev:not(.swap) .mini-grid i:nth-child(3){animation-delay:.09s}.dev:not(.swap) .mini-grid i:nth-child(4){animation-delay:.12s}
.dev:not(.swap) .mini-grid i:nth-child(5){animation-delay:.15s}.dev:not(.swap) .mini-grid i:nth-child(6){animation-delay:.18s}
.dev:not(.swap) .mini-grid i:nth-child(7){animation-delay:.21s}.dev:not(.swap) .mini-grid i:nth-child(8){animation-delay:.24s}
@keyframes pop{from{opacity:0;transform:translateY(6px) scale(.9)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.dev,.dev *,.dev-neck,.dev-base,.mini,.mini-grid i{transition:none!important;animation:none!important}}

/* illustrations (unDraw, recoloured to sage) */
.illo{display:block;width:100%;height:150px;object-fit:contain;margin:0 auto 20px}
.hero .hero-illo{height:clamp(130px,24vw,190px);margin-bottom:24px}
.section-head .illo{height:180px;margin-bottom:28px}
.closing .illo{height:190px;margin-bottom:28px}
.features{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.features .card{text-align:center}

/* sections */
.section{padding:88px 0}
.section.soft{background:var(--soft)}
.section.soft .card{background:#fff}
.card{transition:box-shadow .2s}
.card:hover{box-shadow:0 8px 24px rgba(0,0,0,.06)}
.section h2{font-size:clamp(1.8rem,4vw,2.8rem);letter-spacing:-.03em;line-height:1.12}
.section-head{text-align:center;max-width:640px;margin:0 auto 48px}
.section-head p{color:var(--muted);font-size:1.1rem;margin:0}
.section-head h2{margin-bottom:.35em}

.steps-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;counter-reset:s}
.steps-row .card{position:relative;padding-top:72px}
.steps-row .card::before{counter-increment:s;content:counter(s);position:absolute;top:28px;left:28px;width:32px;height:32px;border-radius:50%;background:var(--brand);color:var(--on-brand);display:grid;place-items:center;font-family:var(--head);font-weight:600;font-size:.95rem}
.steps-row p,.features p{margin:0}
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.features .card h3{font-size:1.1rem;margin-bottom:.4em}
.themes{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
@media(max-width:520px){.themes{grid-template-columns:1fr 1fr;gap:12px}.themes .card{padding:12px}.themes .card p{font-size:.85rem}}
.themes a.card{color:inherit;text-decoration:none}
.themes .card p{margin:0;color:var(--muted)}
.theme-thumb{background:#5f7d63;height:clamp(110px,22vw,150px);border-radius:14px;margin-bottom:16px;display:grid;place-items:center;color:#fff;font-family:var(--head);font-weight:500;font-size:1.3rem}
/* design previews: all in the sage brand colour, three close shades */
.themes .card:nth-child(3n+2) .theme-thumb{background:#4f6b53}
.themes .card:nth-child(3n) .theme-thumb{background:#728f76}

/* plans */
.plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:20px;align-items:stretch}
.plan{display:flex;flex-direction:column;background:var(--soft);border:0}
.plan h3{font-size:1.3rem;margin:0 0 .2em}
.plan .tag{color:var(--muted);margin:0 0 20px}
.plan .price{font-family:var(--head);font-size:2.4rem;font-weight:600;letter-spacing:-.03em;line-height:1.1}
.plan .price span{font-family:var(--font);font-size:1rem;font-weight:400;color:var(--muted);letter-spacing:0}
.plan .per{color:var(--muted);font-size:.9rem;margin-top:4px}
.plan ul{padding:0;list-style:none;margin:24px 0 28px;flex:1}
.plan li{padding:6px 0 6px 32px;position:relative}
.plan li::before{content:"";position:absolute;left:0;top:calc(6px + .8em - 10px);width:20px;height:20px;border-radius:50%;background:var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
.plan .btn.ghost{background:#fff;border-color:transparent}
.plan .btn.ghost:hover{background:#fff;border-color:var(--line)}
.cycle-toggle{display:inline-flex;background:var(--soft);border-radius:99px;padding:4px;margin:0 0 24px}
.cycle-toggle label{padding:8px 18px;border-radius:99px;cursor:pointer;font-weight:500}
.cycle-toggle input{display:none}
.cycle-toggle input:checked+span{background:var(--brand);color:var(--on-brand);box-shadow:0 1px 4px rgba(0,0,0,.12);border-radius:99px;padding:8px 18px;margin:-8px -18px;display:inline-block}

/* closing call to action */
.closing{text-align:center;padding:96px 0}
.closing h2{font-size:clamp(1.8rem,4vw,2.8rem);letter-spacing:-.03em}
.closing h2{margin-bottom:.1em}
.closing .sub{font-family:var(--head);font-weight:500;font-size:clamp(1.6rem,4vw,2.4rem);letter-spacing:-.03em;color:var(--brand);margin:0 0 18px}
.closing p.muted{font-size:1.05rem;margin:0 0 28px}

/* footer */
.foot{background:var(--soft);border-top:1px solid var(--line);padding:28px 0;color:var(--muted);font-size:.85rem}
.foot a{color:var(--muted)}
.foot .row{gap:20px}

/* auth, wizard, dashboard pages */
.auth{padding:64px 20px}
.auth .card{padding:36px}
.auth h1{font-size:2rem}
.wizard{padding:48px 20px 72px}
.stepper{display:flex;gap:6px;margin:0 0 32px;flex-wrap:wrap}
.stepper span{flex:1;min-width:60px;height:4px;border-radius:9px;background:var(--line)}
.stepper span.on{background:var(--brand)}
.stepper-label{font-size:.85rem;color:var(--muted);margin-bottom:8px}
.domain-results{display:grid;gap:10px;margin:20px 0}
.domain-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;background:var(--soft);border-radius:14px}
.domain-row.na{opacity:.55}
.domain-row b{font-size:1.05rem;font-weight:600}
.summary td{padding:8px 0}
.summary .total td{font-weight:700;font-size:1.15rem;border-top:1px solid var(--ink);padding-top:12px}
.store-list{display:grid;gap:14px;margin-top:20px}
.store-item{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.mock-banner{background:#eef3ef;color:var(--brand-text);padding:12px 18px;border-radius:14px;margin-bottom:20px;font-size:.9rem}

::selection{background:var(--brand);color:#fff}

