  :root{
    --paper:#fcfbf9; --paper-2:#f5f3ef; --card:#ffffff; --line:#e9e6ef; --line-2:#f0eef4;
    --ink:#17141f; --ink-2:#565061; --ink-3:#8b8693;
    --accent:#6851DB; --accent-ink:#5a46d6; --accent-soft:#efecfb;
    --shadow:0 1px 2px rgba(30,22,60,.04), 0 18px 48px -20px rgba(40,28,90,.22);
    --serif:"Playfair Display","Iowan Old Style",Georgia,serif;
    --sans:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif;
  }
  @media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
    --paper:#100d16; --paper-2:#15111e; --card:#181320; --line:#2a2436; --line-2:#221c2e;
    --ink:#efecf4; --ink-2:#b0a9bd; --ink-3:#7d7689;
    --accent:#6851DB; --accent-ink:#8B7AE8; --accent-soft:#211a37;
    --shadow:0 1px 2px rgba(0,0,0,.4), 0 22px 54px -22px rgba(0,0,0,.7);
  }}
  :root[data-theme="dark"]{
    --paper:#100d16; --paper-2:#15111e; --card:#181320; --line:#2a2436; --line-2:#221c2e;
    --ink:#efecf4; --ink-2:#b0a9bd; --ink-3:#7d7689;
    --accent:#6851DB; --accent-ink:#8B7AE8; --accent-soft:#211a37;
    --shadow:0 1px 2px rgba(0,0,0,.4), 0 22px 54px -22px rgba(0,0,0,.7);
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
  body{background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.55;
    -webkit-font-smoothing:antialiased;font-weight:400}
  .wrap{max-width:1080px;margin:0 auto;padding:0 clamp(20px,5vw,40px)}
  a{color:inherit;text-decoration:none}
  ::selection{background:var(--accent);color:#fff}
  em{font-style:normal;color:var(--accent)}

  /* nav */
  nav{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--paper) 86%,transparent);
    backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid transparent;transition:border-color .3s}
  nav.scrolled{border-color:var(--line)}
  .navrow{display:flex;align-items:center;gap:12px;height:68px}
  /* The app's own logo lockup (src/svg/WibelyHome.tsx): mark in brand purple, wordmark in the text colour */
  .brand{display:flex;align-items:center}
  .brand .logo{height:34px;width:auto;display:block}
  .navlinks{margin-left:auto;display:flex;align-items:center;gap:30px}
  .navlinks a.txt{font-size:15px;font-weight:500;color:var(--ink-2)}
  .navlinks a.txt:hover{color:var(--ink)}
  /* Solid brand purple in both themes; the dark-theme accent token is a lilac and read as faded */
  .btn{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:15px;
    background:#6851DB;color:#fff;padding:10px 18px;border-radius:999px;transition:transform .15s,opacity .2s}
  .btn:hover{transform:translateY(-1px);opacity:.92}
  @media(max-width:640px){.navlinks a.txt{display:none}}

  /* hero */
  .hero{padding:clamp(56px,10vw,110px) 0 clamp(40px,6vw,64px);display:grid;grid-template-columns:1.05fr .95fr;
    gap:clamp(28px,5vw,56px);align-items:center}
  @media(max-width:840px){.hero{grid-template-columns:1fr;text-align:center}}
  .eyebrow{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-ink);margin-bottom:20px}
  h1{font-family:var(--serif);font-weight:400;font-size:clamp(2.9rem,6.6vw,5.1rem);line-height:.98;letter-spacing:-.015em;
    text-wrap:balance;margin-bottom:22px}
  .hero p.sub{font-size:clamp(1.08rem,2.2vw,1.28rem);color:var(--ink-2);max-width:32ch;line-height:1.5}
  @media(max-width:840px){.hero p.sub{margin:0 auto}}
  .stores{display:flex;gap:12px;margin-top:34px;flex-wrap:wrap}
  @media(max-width:840px){.stores{justify-content:center}}
  .badge{height:52px;width:auto;display:block;transition:transform .15s}
  .badge:hover{transform:translateY(-2px)}
  .proof{margin-top:22px;display:flex;align-items:center;gap:10px;font-size:14.5px;color:var(--ink-3)}
  @media(max-width:840px){.proof{justify-content:center}}
  .stars{color:var(--accent);letter-spacing:2px;font-size:15px}

  /* hero visual: two phones, the app on its own */
  .stage{position:relative;height:clamp(440px,54vw,560px)}
  .shot{position:absolute;border-radius:22px;border:1px solid rgba(255,255,255,.12);display:block;
    box-shadow:0 34px 66px -22px rgba(26,16,64,.46), 0 10px 26px -12px rgba(26,16,64,.34)}
  .s1{width:min(58%,250px);left:2%;top:0;transform:rotate(-4deg);z-index:1}
  .s2{width:min(62%,268px);right:0;bottom:0;transform:rotate(3deg);z-index:2}
  @media(max-width:840px){.stage{height:500px;margin-top:8px}}

  /* the five */
  .five{padding:clamp(56px,8vw,96px) 0 0}
  .sechead{max-width:36ch;margin-bottom:clamp(30px,4vw,44px)}
  .sechead h2{font-family:var(--serif);font-weight:400;font-size:clamp(2.1rem,4.6vw,3.1rem);line-height:1.02;letter-spacing:-.015em;text-wrap:balance}
  .sechead p{color:var(--ink-2);margin-top:14px;font-size:1.05rem;max-width:44ch}
  .kinds{display:grid;grid-template-columns:repeat(5,1fr);gap:clamp(12px,1.6vw,18px)}
  @media(max-width:960px){.kinds{grid-template-columns:repeat(3,1fr)}}
  @media(max-width:600px){.kinds{grid-template-columns:1fr 1fr}}
  .kind{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px 18px 22px}
  .kind .k{font-family:var(--serif);font-size:1.45rem;line-height:1.1;margin-bottom:8px;display:flex;align-items:center;gap:9px}
  .kind .k .d{width:9px;height:9px;border-radius:50%;background:var(--accent);flex:none}
  .kind p{color:var(--ink-2);font-size:15px;line-height:1.45}
  .credit{margin-top:14px;font-size:13px;color:var(--ink-3)}

  /* for you */
  section.feat{padding:clamp(64px,9vw,110px) 0 0}
  .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(14px,1.8vw,20px)}
  @media(max-width:860px){.grid{grid-template-columns:1fr}}
  .card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:clamp(24px,2vw,28px) clamp(22px,1.8vw,25px) clamp(26px,2vw,30px);
    display:flex;flex-direction:column;gap:12px;transition:transform .2s,border-color .2s,box-shadow .2s}
  .card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--accent) 40%,var(--line));box-shadow:var(--shadow)}
  .card .ic{width:44px;height:44px;border-radius:13px;background:var(--accent-soft);color:var(--accent-ink);
    display:grid;place-items:center;margin-bottom:6px}
  .card .ic svg{width:23px;height:23px}
  .card h3{font-size:1.28rem;font-weight:700;letter-spacing:-.01em}
  .card p{color:var(--ink-2);font-size:15.5px;line-height:1.5}

  /* import strip */
  .import{margin-top:clamp(18px,2vw,22px);background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 18%,var(--line));
    border-radius:20px;padding:clamp(22px,3vw,30px) clamp(22px,3vw,32px);display:flex;gap:18px;align-items:center;flex-wrap:wrap}
  .import b{font-family:var(--serif);font-weight:400;font-size:1.35rem;display:block;margin-bottom:4px}
  .import p{color:var(--ink-2);font-size:15.5px;max-width:52ch}

  /* friends */
  .friends{padding:clamp(64px,9vw,110px) 0 0;display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,56px);align-items:center}
  @media(max-width:840px){.friends{grid-template-columns:1fr}}
  .friends ul{list-style:none;display:flex;flex-direction:column;gap:18px;margin-top:6px}
  .friends li{display:flex;gap:14px;align-items:flex-start}
  .friends li .n{width:30px;height:30px;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink);
    font-weight:700;font-size:14px;display:grid;place-items:center;flex:none;margin-top:2px}
  .friends li b{display:block;font-size:1.08rem;font-weight:700}
  .friends li span{color:var(--ink-2);font-size:15.5px}
  .friends .brandname{color:var(--accent-ink);font-weight:600;white-space:nowrap}
  .duo{position:relative;height:clamp(420px,48vw,520px)}
  .duo .shot{width:min(60%,250px)}
  .duo .f1{left:0;top:0;transform:rotate(-3deg);z-index:1}
  .duo .f2{right:0;bottom:0;transform:rotate(3deg);z-index:2}
  @media(max-width:840px){.duo{height:460px}}

  /* showcase */
  .showcase{padding-top:clamp(64px,9vw,110px)}
  .phones{display:flex;gap:clamp(16px,2vw,22px);margin-top:8px;overflow-x:auto;padding:4px 2px 16px;
    scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .phones::-webkit-scrollbar{height:6px}
  .phones::-webkit-scrollbar-thumb{background:var(--line);border-radius:99px}
  .phones::-webkit-scrollbar-track{background:transparent}
  .phones figure{flex:0 0 auto;width:min(66vw,214px);margin:0;display:flex;flex-direction:column;align-items:center;gap:14px;scroll-snap-align:center}
  .phone{width:100%;background:var(--card);border:1px solid var(--line);border-radius:30px;padding:6px;
    box-shadow:0 26px 52px -20px rgba(30,20,70,.24),0 6px 16px -8px rgba(30,20,70,.16)}
  .phone img{display:block;width:100%;border-radius:25px}
  .phones figcaption{font-size:14.5px;font-weight:600;color:var(--ink-2)}

  /* closing cta */
  .cta{margin:clamp(40px,6vw,64px) auto clamp(60px,8vw,100px);max-width:1080px}
  .ctabox{background:var(--accent-soft);color:var(--ink);border:1px solid color-mix(in srgb,var(--accent) 18%,var(--line));border-radius:30px;
    padding:clamp(44px,7vw,76px) clamp(24px,5vw,64px);text-align:center}
  .ctabox h2{font-family:var(--serif);font-weight:400;font-size:clamp(2.2rem,5.4vw,3.6rem);line-height:1;letter-spacing:-.02em;text-wrap:balance}
  .ctabox p{color:var(--ink-2);margin:16px auto 30px;max-width:36ch;font-size:1.05rem}
  .ctabox .stores{justify-content:center}

  /* footer */
  footer{border-top:1px solid var(--line);padding:40px 0 56px;color:var(--ink-3);font-size:14.5px}
  .footrow{display:flex;flex-wrap:wrap;gap:18px 30px;align-items:center}
  .footrow .brand .logo{height:28px}
  .footlinks{margin-left:auto;display:flex;flex-wrap:wrap;gap:8px 22px}
  .footlinks a:hover{color:var(--ink)}
  .fine{margin-top:22px;font-size:13px;color:var(--ink-3)}
  :focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
  @media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto}}

  /* inner pages */
  .page{padding:clamp(48px,8vw,88px) 0 clamp(40px,6vw,64px);max-width:720px}
  .page h1{font-family:var(--serif);font-weight:400;font-size:clamp(2.5rem,5.6vw,4rem);line-height:1;letter-spacing:-.015em;text-wrap:balance;margin-bottom:18px}
  .page .lede{font-size:clamp(1.08rem,2.2vw,1.25rem);color:var(--ink-2);max-width:48ch}
  .block{max-width:720px;padding:clamp(36px,5vw,56px) 0 0}
  .block h2{font-family:var(--serif);font-weight:400;font-size:clamp(1.7rem,3.4vw,2.3rem);line-height:1.05;letter-spacing:-.01em;margin-bottom:16px}
  .block p{color:var(--ink-2);max-width:60ch}
  .block p+p{margin-top:12px}
  .rows{list-style:none;display:flex;flex-direction:column;gap:14px}
  .rows li{display:flex;gap:14px;align-items:flex-start;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px 18px}
  .rows li .n{width:30px;height:30px;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink);font-weight:700;font-size:14px;display:grid;place-items:center;flex:none;margin-top:1px}
  .rows li b{display:block;font-size:1.05rem;font-weight:700}
  .rows li span{color:var(--ink-2);font-size:15.5px}
  .person{display:flex;gap:18px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:20px 22px}
  .person .av{width:56px;height:56px;border-radius:50%;flex:none;background:linear-gradient(145deg,var(--accent),#b7a6ff)}
  .person b{display:block;font-size:1.1rem}
  .person span{color:var(--ink-3);font-size:14.5px}
  .person q{display:block;color:var(--ink-2);margin-top:8px;font-size:15.5px}
  .contact{display:flex;flex-wrap:wrap;gap:12px 28px;color:var(--ink-2)}
  .contact a{color:var(--accent-ink);font-weight:600}
  details{border-top:1px solid var(--line);padding:18px 0}
  details:last-of-type{border-bottom:1px solid var(--line)}
  summary{cursor:pointer;font-weight:700;font-size:1.08rem;list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:center}
  summary::-webkit-details-marker{display:none}
  summary::after{content:"+";color:var(--accent-ink);font-size:1.4rem;font-weight:400;line-height:1;flex:none}
  details[open] summary::after{content:"\2212"}
  details p{color:var(--ink-2);margin-top:10px;max-width:60ch}
  .backlink{font-size:14.5px;color:var(--ink-3);display:inline-block;margin-bottom:8px}
  .backlink:hover{color:var(--ink)}
  .wibecard{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:18px 20px;max-width:340px;box-shadow:var(--shadow)}
  .wibecard .r1{display:flex;align-items:center;gap:12px}
  .wibecard .av{width:40px;height:40px;border-radius:50%;flex:none;background:linear-gradient(145deg,var(--accent),#b7a6ff)}
  .wibecard .who{font-weight:700;font-size:15px}
  .wibecard .who span{color:var(--ink-3);font-weight:500}
  .wibecard .tag{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-ink);background:var(--accent-soft);padding:4px 9px;border-radius:7px;margin-left:auto}
  .wibecard .title{font-family:var(--serif);font-size:23px;line-height:1.05;margin:14px 0 6px}
  .wibecard .meta{color:var(--ink-3);font-size:13.5px}
  .wibecard .note{color:var(--ink-2);font-size:14.5px;margin-top:10px;line-height:1.45}
  .wibecard .save{display:inline-block;margin-top:14px;font-size:14px;font-weight:600;color:var(--accent-ink);background:var(--accent-soft);padding:7px 13px;border-radius:999px}
  .split{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(28px,5vw,56px);align-items:center}
  @media(max-width:840px){.split{grid-template-columns:1fr}.split .wibecard{margin:0 auto}}

  /* comparison table */
  .cmpwrap{max-width:820px;overflow-x:auto}
  .cmp{width:100%;border-collapse:collapse;font-size:15px}
  .cmp th,.cmp td{padding:11px 10px;border-bottom:1px solid var(--line);text-align:center;white-space:nowrap}
  .cmp th{font-weight:600;color:var(--ink-2);font-size:13px;letter-spacing:.04em;text-transform:uppercase}
  .cmp td:first-child,.cmp th:first-child{text-align:left;white-space:normal;color:var(--ink)}
  .cmp th.us,.cmp td:last-child{background:var(--accent-soft);color:var(--accent-ink);font-weight:700}
  .cmp td.y{color:var(--accent-ink);font-weight:700}
  .cmp td.n{color:var(--ink-3)}
  .import a{color:var(--accent-ink);font-weight:600;display:inline-block;margin-top:8px}
  .cmp .brandcell{display:inline-flex;flex-direction:column;align-items:center;gap:6px}
  .cmp .brandcell img{width:28px;height:28px;border-radius:7px;object-fit:cover;display:block}
