/* The marketing site, www.ewonicapp.com: index.html and the pages beside it,
   served by the relay to that host (relay/src/site.ts). Moved off Framer on
   2026-10-22 and rebuilt as the same site - dark ground, mint accent, Satoshi
   for the headings, Instrument Sans for everything else - so the move showed
   nowhere but the bill. Plain CSS, no build step, like account/ and viewer/.

   Phone first: every rule is the single-column one unless a min-width says
   otherwise. Nothing here is shared with the portal's styles.css, on purpose:
   the portal is a light app and this is a dark site, and a token that means
   one thing in each would be a trap. */

@font-face{
  font-family:"Instrument Sans";
  src:url("/media/instrument-sans.woff2") format("woff2");
  font-style:normal;font-weight:400 700;font-display:swap;
}

:root{
  --bg:#0b0d0c; --panel:#121615; --panel-2:#161b19; --line:rgba(255,255,255,.08);
  --fg:#f6f8f7; --dim:#a8b2ad; --faint:#6f7a75;
  --mint:#46e7b8; --green:#08a879; --green-deep:#0c3f31; --mint-line:#1d4d40;
  --light:#f6f8f7; --light-2:#eaf2ee; --light-card:#fff; --light-line:#dce5e1;
  --ink:#0b0d0c; --ink-dim:#52615a;
  --radius:20px; --radius-sm:14px;
  --gutter:20px; --measure:1120px;
  --head:"Satoshi","Instrument Sans",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --body:"Instrument Sans",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--fg);font-family:var(--body);
  font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img,video{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--head);font-weight:700;letter-spacing:-.025em;line-height:1.08;margin:0}
p{margin:0}
.mint{color:var(--mint)}
.wrap{max-width:var(--measure);margin:0 auto;padding:0 var(--gutter)}
.narrow{max-width:760px;margin:0 auto}
:focus-visible{outline:2px solid var(--mint);outline-offset:3px;border-radius:8px}

/* ---------- top row ------------------------------------------------------ */
.top{padding:22px var(--gutter) 6px}
.top nav{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 28px}
.top a{
  color:var(--fg);text-decoration:none;font-size:14px;font-weight:500;padding:6px 0;
  opacity:.9;
}
.top a:hover{opacity:1;text-decoration:underline;text-underline-offset:4px}
.top a[aria-current="page"]{opacity:1;font-weight:600}
.top a.open{color:var(--mint);letter-spacing:.06em;text-transform:uppercase;font-weight:600}

/* ---------- type --------------------------------------------------------- */
.eyebrow{
  font-family:var(--body);font-size:12px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--mint);margin-bottom:18px;
}
.light .eyebrow,.mintband .eyebrow{color:var(--green)}
.title{font-size:clamp(38px,8.5vw,68px);max-width:14ch;margin:0 auto}
.h2{font-size:clamp(32px,6.5vw,52px);max-width:16ch;margin:0 auto}
.lead{font-size:18px;line-height:1.6;color:var(--dim);max-width:52ch;margin:22px auto 0}
.light .lead,.mintband .lead{color:var(--ink-dim)}
.center{text-align:center}

/* ---------- the button --------------------------------------------------- */
/* Framer served this as a picture of a button. It is a button. */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:56px;padding:0 34px;border-radius:999px;text-decoration:none;
  font-family:var(--head);font-weight:700;font-size:19px;color:#fff;
  background:linear-gradient(180deg,#0f3b31 0%,#0a2c25 100%);
  border:1.5px solid rgba(70,231,184,.9);
  box-shadow:0 0 0 1px rgba(70,231,184,.25),0 0 28px rgba(70,231,184,.45),0 0 60px rgba(8,168,121,.25);
  transition:transform .15s ease,box-shadow .15s ease;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 0 0 1px rgba(70,231,184,.35),0 0 36px rgba(70,231,184,.6),0 0 80px rgba(8,168,121,.35)}
.btn:active{transform:translateY(0)}
.btn.small{min-height:44px;padding:0 22px;font-size:15px}

/* ---------- glow --------------------------------------------------------- */
.glow{position:relative;isolation:isolate}
.glow::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse 60% 55% at 50% var(--glow-y,40%),rgba(8,168,121,.38) 0,rgba(8,168,121,0) 70%);
}

/* ---------- hero --------------------------------------------------------- */
.hero{padding:40px var(--gutter) 60px;text-align:center;--glow-y:30%}
.hero .lockup{width:250px;margin:0 auto 34px}
.hero .lead{margin-top:26px}
/* The listener page on a phone, framed like one. */
.phone{
  width:min(100%,495px);margin:52px auto 0;aspect-ratio:495/720;
  border-radius:40px;padding:12px;background:#141a18;
  border:1px solid rgba(255,255,255,.08);box-shadow:0 30px 80px rgba(0,0,0,.55);
}
.phone video{width:100%;height:100%;object-fit:cover;border-radius:30px;background:#090c0b}
.trial{
  display:flex;align-items:flex-start;gap:16px;text-align:left;
  max-width:720px;margin:38px auto 0;padding:20px 22px;border-radius:var(--radius-sm);
  background:var(--panel);border:1px solid var(--line);
}
.trial svg{flex:0 0 auto;width:28px;height:28px;color:var(--mint);margin-top:2px}
.trial strong{display:block;font-weight:600;font-size:16px}
.trial span{display:block;font-size:14px;color:var(--dim);margin-top:4px}
.hero .cta{margin-top:34px}

/* ---------- bands -------------------------------------------------------- */
.band{padding:72px var(--gutter)}
.light{background:var(--light);color:var(--ink)}
.light .h2,.light h3{color:var(--ink)}
.mintband{background:var(--light-2);color:var(--ink)}
.mintband .h2,.mintband h3{color:var(--ink)}
/* The light bands are cards on the dark page, as Framer drew them: a flat
   sheet with rounded corners, edge to edge on a phone. */
.sheet{max-width:1180px;margin:0 auto;border-radius:0}
@media (min-width:860px){
  .sheet{border-radius:28px}
  /* Two sheets back to back are one shape: only the outer corners round.
     Rounded on both, the seam showed the dark page through four notches. */
  .sheet:has(+ .sheet){border-bottom-left-radius:0;border-bottom-right-radius:0}
  .sheet + .sheet{border-top-left-radius:0;border-top-right-radius:0}
  .band{padding:88px var(--gutter)}
}
.cards{display:grid;gap:18px;margin-top:40px}
@media (min-width:720px){.cards.two{grid-template-columns:1fr 1fr}}
@media (min-width:720px){.cards.three{grid-template-columns:1fr 1fr}.cards.three>:last-child{grid-column:1/-1}}
@media (min-width:1000px){.cards.three{grid-template-columns:1fr 1fr 1fr}.cards.three>:last-child{grid-column:auto}}

.vcard{
  background:var(--light-card);border:1px solid var(--light-line);border-radius:var(--radius);
  padding:14px 14px 22px;max-width:420px;margin:0 auto;width:100%;
}
.vcard .clip{aspect-ratio:344/520;border-radius:var(--radius-sm);overflow:hidden;background:#0b0d0c}
.vcard video{width:100%;height:100%;object-fit:cover}
.vcard h3{font-size:19px;margin:18px 6px 8px;letter-spacing:-.01em}
.vcard p{color:var(--ink-dim);font-size:15px;margin:0 6px}

.step{
  background:var(--light-card);border:1px solid var(--light-line);border-radius:var(--radius);
  padding:24px 24px 26px;
}
.step .n{font-family:var(--body);font-size:13px;font-weight:600;color:var(--green);letter-spacing:.08em}
.step h3{font-size:20px;margin:14px 0 10px;letter-spacing:-.01em}
.step p{color:var(--ink-dim);font-size:15px}

/* The hosting walkthrough, a dark card inside the light band. */
.start{
  margin-top:28px;background:#0f1413;color:var(--fg);border-radius:var(--radius);
  padding:22px 18px 18px;border:1px solid rgba(255,255,255,.06);
}
/* The grid the site used to have, with the pulses that ran along it: a
   faint lattice, and four soft streaks that sweep across it, two each way,
   on long offset cycles so they never read as a loop. On the hero and on the
   Get Started card. Pure CSS, and still for anyone who asked their system
   for less motion. */
.lattice{position:relative;overflow:hidden;isolation:isolate}
.lattice::after{
  content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;
  background-image:
    linear-gradient(to right,rgba(70,231,184,.07) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(70,231,184,.07) 1px,transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(ellipse 80% 80% at 50% 40%,#000 30%,transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 80% 80% at 50% 40%,#000 30%,transparent 100%);
}
.lattice>.pulse{position:absolute;z-index:-1;pointer-events:none;will-change:transform;opacity:.9}
.lattice>.pulse.x{
  left:-40%;width:40%;height:1px;
  background:linear-gradient(90deg,transparent,rgba(70,231,184,.55),transparent);
  animation:pulse-x 9s linear infinite;
}
.lattice>.pulse.y{
  top:-40%;height:40%;width:1px;
  background:linear-gradient(180deg,transparent,rgba(70,231,184,.5),transparent);
  animation:pulse-y 11s linear infinite;
}
/* In the card, in its margins, where the grid shows and no words are: a
   streak that crossed the text read as an underline. The starts are offset
   so they do not all enter together on the first paint. */
.start>.pulse.x.a{top:10px;animation-delay:-2s}
.start>.pulse.x.b{bottom:8px;animation-delay:-6.5s;animation-direction:reverse}
.start>.pulse.y.a{left:8px;animation-delay:-4s}
.start>.pulse.y.b{right:8px;animation-delay:-9s;animation-direction:reverse}
/* On the hero the lattice is fainter and sits on the grid lines beside the
   headline, above and below it, so the words stay the brightest thing. */
.hero.lattice::after{opacity:.6;background-size:52px 52px;
  mask-image:radial-gradient(ellipse 70% 60% at 50% 35%,#000 20%,transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 70% 60% at 50% 35%,#000 20%,transparent 100%)}
.hero>.pulse{opacity:.6}
.hero>.pulse.x.a{top:104px;animation-delay:-3s}
.hero>.pulse.x.b{top:572px;animation-delay:-7s;animation-direction:reverse}
.hero>.pulse.y.a{left:calc(50% - 260px);animation-delay:-1s}
.hero>.pulse.y.b{left:calc(50% + 260px);animation-delay:-8s;animation-direction:reverse}
@keyframes pulse-x{to{transform:translateX(350%)}}
@keyframes pulse-y{to{transform:translateY(350%)}}
@media (prefers-reduced-motion:reduce){.lattice>.pulse{display:none}}
/* The band above sets its headings to ink; this card is dark again. */
.start h3{font-size:20px;letter-spacing:-.01em;color:var(--fg)}
.start p{color:var(--dim);font-size:14px;margin-top:6px}
.langs{
  display:inline-flex;flex-wrap:wrap;gap:4px;margin:14px 0 18px;padding:4px;
  border-radius:999px;background:rgba(255,255,255,.06);
}
.langs .lang{
  font:inherit;font-size:14px;font-weight:500;padding:8px 20px;border-radius:999px;
  border:0;background:transparent;color:var(--dim);cursor:pointer;
}
.langs .lang:hover{color:var(--fg)}
.langs .lang[aria-pressed="true"]{background:var(--mint);color:var(--ink);font-weight:600}
.langs .lang[hidden]{display:none}
.wide{aspect-ratio:16/9;border-radius:var(--radius-sm);overflow:hidden;background:#101513;border:1px solid var(--mint-line)}
.wide video{width:100%;height:100%;object-fit:cover}
@media (min-width:720px){.start{padding:28px 26px 26px}}

/* ---------- AI notes ----------------------------------------------------- */
.notes{padding:84px var(--gutter) 40px;text-align:center;--glow-y:45%}
.notes .see{display:inline-block;margin-top:26px;font-size:14px;color:var(--mint);text-decoration:none}
.notes .see:hover{text-decoration:underline;text-underline-offset:4px}
.notes .phone{margin-top:22px}
.uses{padding:60px var(--gutter) 30px;text-align:center}
.uses .h2{font-size:clamp(28px,5.5vw,40px)}
.tiles{display:grid;gap:16px;margin-top:40px;text-align:left}
@media (min-width:720px){.tiles{grid-template-columns:1fr 1fr}}
.tile{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-sm);padding:22px 22px 24px}
.tile svg{width:22px;height:22px;color:var(--mint)}
.tile h3{font-size:19px;margin:14px 0 8px;letter-spacing:-.01em}
.tile p{color:var(--dim);font-size:15px}

/* ---------- the close ---------------------------------------------------- */
.close{padding:110px var(--gutter) 90px;text-align:center;--glow-y:55%}
.close .cta{margin-top:36px}

/* ---------- footer ------------------------------------------------------- */
footer{padding:20px var(--gutter) 56px;text-align:center}
footer ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px}
footer a{color:var(--dim);text-decoration:none;font-size:13px}
footer a:hover{color:var(--fg)}
footer .mail{display:inline-block;margin-top:22px;color:var(--mint);font-size:14px}

/* ---------- inner pages -------------------------------------------------- */
.page-head{padding:56px var(--gutter) 30px;text-align:center;--glow-y:0%}
.page-head .title{font-size:clamp(36px,8vw,56px)}
.legal{padding:16px var(--gutter) 80px}
.legal .narrow{max-width:820px}
.legal .date{font-style:italic;color:var(--dim);margin-bottom:28px}
.legal h2{font-size:18px;margin:38px 0 12px;letter-spacing:-.01em}
.legal p{margin:0 0 14px;color:#d7ddda;font-size:16px}
.legal ul{margin:0 0 14px;padding-left:22px;color:#d7ddda;font-size:16px}
.legal li{margin:4px 0}
.legal a{color:var(--mint);word-break:break-word}

/* about */
.team{padding:10px var(--gutter) 70px}
.member{max-width:960px;margin:0 auto 46px}
/* height:auto, or the img's height attribute wins over the aspect ratio and
   a phone gets the photo 800px tall: Jazmín's face was cut at the eyes on
   the first preview. A phone gets a wide frame; the square is for desktop. */
/* isolation and the mask: Safari stops clipping a rounded frame the moment
   the child is transformed, and Jazmín's zoomed photo showed square corners
   on the left; either one puts the frame on its own layer, where it clips. */
.member .photo{
  aspect-ratio:3/2;border-radius:var(--radius);overflow:hidden;background:var(--panel);
  isolation:isolate;-webkit-mask-image:-webkit-radial-gradient(white,black);
}
.member img{width:100%;height:100%;object-fit:cover;object-position:50% 25%}
/* Jazmín stands in the left third of her photo. On a phone the frame zooms
   in on her so she is the centre of it, not the field beside her. */
.member img.zoom{transform:translate(14%,6%) scale(1.5);transform-origin:22% 30%}
.member h2{font-size:24px;margin:22px 0 10px}
.member p{color:var(--dim);font-size:16px;max-width:66ch}
@media (min-width:860px){
  .member{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:36px;align-items:center}
  .member .photo{aspect-ratio:1}
  .member img.zoom{transform:none}
  .member h2{margin-top:0}
  .member:nth-child(even) img{order:2}
}

/* support */
.support{padding:10px var(--gutter) 70px}
.box{
  background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px 20px;margin:0 auto 24px;max-width:960px;
}
.box h2{font-size:22px;font-style:italic;letter-spacing:-.01em}
.box h2 .mint{font-style:italic}
.box>p{color:var(--dim);font-size:15px;margin-top:10px;font-style:italic}
.box p a{color:var(--mint)}
.contact{margin-top:18px}
.contact label{display:block;font-size:13px;font-weight:600;margin:16px 0 6px;font-style:italic}
.contact input,.contact textarea{
  width:100%;font:inherit;font-size:15px;color:var(--fg);background:#0e1211;
  border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:12px 14px;
}
.contact textarea{min-height:110px;resize:vertical}
.contact input:focus-visible,.contact textarea:focus-visible{outline:none;border-color:var(--mint);box-shadow:0 0 0 3px rgba(70,231,184,.2)}
.contact .row{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:20px;justify-content:center}
.contact button{
  font:inherit;font-weight:600;font-size:15px;color:var(--ink);background:var(--green);
  border:0;border-radius:10px;padding:12px 34px;cursor:pointer;min-height:44px;
}
.contact button:hover{background:#0cb986}
.contact button:disabled{opacity:.6;cursor:default}
.contact .status{font-size:14px;color:var(--dim);min-height:1.4em}
.contact .status.err{color:#ff9f8a}
.contact .status.ok{color:var(--mint)}
/* A field no person sees or fills; a script that fills every field does. */
.contact .company{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.pair{display:grid;gap:18px;max-width:960px;margin:0 auto 40px}
@media (min-width:720px){.pair{grid-template-columns:1fr 1fr}}
.pair .box{margin:0}
.section-h{font-size:28px;font-style:italic;max-width:960px;margin:40px auto 18px;letter-spacing:-.01em}
.qa{display:grid;gap:14px;max-width:960px;margin:0 auto}
@media (min-width:720px){.qa{grid-template-columns:1fr 1fr}}
.qa div{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-sm);padding:20px 20px 22px}
.qa h3{font-size:16px;font-style:italic;letter-spacing:-.01em;margin-bottom:8px}
.qa p{color:var(--dim);font-size:14px;font-style:italic}

/* 404 */
.lost{padding:90px var(--gutter) 120px;text-align:center}
.lost .lead{margin-bottom:34px}

/* ---------- the home videos ---------------------------------------------- */
/* They play as they scroll into view (site.js) and pause as they leave.
   Sound needs a tap first - no browser lets a page start audio on its own -
   so until the first tap anywhere they play muted and wear this chip. */
.vid{position:relative}
.vid .sound{
  position:absolute;left:50%;bottom:14px;transform:translateX(-50%);
  display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;
  border:0;font:inherit;font-size:13px;font-weight:600;color:var(--ink);background:var(--mint);
  cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.4);
}
.vid .sound svg{width:16px;height:16px}
.vid.unmuted .sound{display:none}
