/* Wontots website. No web fonts, no scripts from anyone else, no cookies. */
:root {
  --night: #1d1747;
  --indigo: #2b3fa8;
  --violet: #5b3f9e;
  --plum: #7a3f86;
  --rose: #d7708c;
  --peach: #ff9c7c;
  --dawn: #ffe6a6;
  --sky: #7fd2c6;
  --clear: #5ee0ff;
  --ink: #1b1640;
  --panel: #33307e;
  --panel-hi: #4a46a6;
  --text: #ffffff;
  --text-soft: #d9d6ff;
  --paper: #fbf8ff;
  --paper-ink: #241e4e;
  --paper-soft: #5b557f;
  --radius: 22px;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--night);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--clear); }
a:hover { color: #a8f0ff; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* --- top bar --- */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  padding: 18px 0;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img.icon { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.brand img.mark { height: 26px; width: auto; }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a {
  color: var(--text); text-decoration: none; font-family: var(--round); font-weight: 800;
  padding: 8px 14px; border-radius: 999px; font-size: 15px;
}
.top nav a:hover { background: rgba(255,255,255,.12); }

/* --- the sky --- */
.sky {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 108%, rgba(255,230,166,.85) 0%, rgba(255,156,124,.55) 30%, rgba(255,156,124,0) 62%),
    linear-gradient(180deg, #2a2378 0%, #4a2f93 30%, #7a3f86 58%, #c0607f 78%, #ff9c7c 100%);
}
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i {
  position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: .7;
  animation: twinkle 4s ease-in-out infinite;
}
.stars i.big { width: 0; height: 0; background: none; opacity: .95; }
.stars i.big::before, .stars i.big::after {
  content: ""; position: absolute; left: -9px; top: -1.5px; width: 18px; height: 3px; border-radius: 2px; background: #fff;
}
.stars i.big::after { transform: rotate(90deg); }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: .95; } }

/* clouds: soft round lumps along the bottom of a sky section */
.clouds { position: absolute; left: -5%; right: -5%; bottom: -2px; height: 160px; pointer-events: none; }
.clouds span {
  position: absolute; bottom: 0; border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, #fff5ea 0%, #ffd9c4 60%, #ffc2a8 100%);
  box-shadow: inset 0 10px 0 rgba(255,255,255,.55);
}
.clouds.far span { background: linear-gradient(180deg, #f4b7c4 0%, #e39bb0 100%); box-shadow: none; opacity: .75; }

/* --- hero --- */
.hero { padding: 120px 0 170px; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { margin: 0; }
.hero h1 img { width: min(520px, 100%); height: auto; filter: drop-shadow(0 6px 0 rgba(27,22,64,.45)); }
.tagline {
  font-family: var(--round); font-weight: 900; font-size: clamp(26px, 4vw, 40px); line-height: 1.15;
  margin: 22px 0 14px; text-shadow: 0 3px 0 rgba(27,22,64,.35);
}
.lede { font-size: clamp(17px, 1.8vw, 19px); color: var(--text-soft); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.soon {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; border-radius: 14px; padding: 10px 20px 10px 16px;
  border: 1.5px solid rgba(255,255,255,.35); text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.soon svg { width: 30px; height: 30px; flex: none; }
.soon small { display: block; font-size: 12px; letter-spacing: .02em; opacity: .85; line-height: 1.1; }
.soon strong { display: block; font-family: var(--round); font-size: 21px; line-height: 1.15; font-weight: 800; }
.devices { font-family: var(--round); font-weight: 800; color: var(--text-soft); font-size: 15px; }

/* phone frame round a screenshot */
.phones { position: relative; height: 640px; }
.phone {
  position: absolute; width: 290px; aspect-ratio: 1206 / 2622; border-radius: 44px; padding: 10px;
  background: linear-gradient(160deg, #3d3a5c, #15132b); box-shadow: 0 30px 60px rgba(20,10,60,.55), inset 0 0 0 2px rgba(255,255,255,.12);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 35px; }
/* both phones stay inside their column at any width */
.phones .phone { width: min(290px, 62%); }
.phone.front { right: 0; top: 0; z-index: 2; transform: rotate(3deg); }
.phone.back { left: 0; top: 70px; transform: rotate(-6deg) scale(.9); opacity: .95; }

/* --- the six --- */
.cast { background: linear-gradient(180deg, #ffc2a8 0%, #ffe9d6 100%); color: var(--paper-ink); padding: 40px 0 90px; }
.cast h2, .features h2, .gallery h2 {
  font-family: var(--round); font-weight: 900; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 10px; text-align: center;
}
.cast p.sub { text-align: center; color: #6a4a5e; margin: 0 auto 36px; max-width: 36em; font-size: 18px; }
.six { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.six figure { margin: 0; text-align: center; }
.six img {
  width: 100%; max-width: 130px; margin-inline: auto; height: auto;
  filter: drop-shadow(0 10px 10px rgba(122,63,134,.28));
  animation: bob 3.2s ease-in-out infinite;
}
.six figure:nth-child(2) img { animation-delay: -.5s; }
.six figure:nth-child(3) img { animation-delay: -1s; }
.six figure:nth-child(4) img { animation-delay: -1.5s; }
.six figure:nth-child(5) img { animation-delay: -2s; }
.six figure:nth-child(6) img { animation-delay: -2.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.six figcaption { font-family: var(--round); font-weight: 900; font-size: 20px; margin-top: 8px; }
.six figcaption span { display: block; font-family: var(--body); font-weight: 500; font-size: 14px; color: #6a4a5e; }

/* --- features --- */
.features { background: var(--night); padding: 90px 0; position: relative; }
.features p.sub { text-align: center; color: var(--text-soft); margin: 0 auto 40px; max-width: 36em; font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--panel-hi) 0%, var(--panel) 100%);
  border-radius: var(--radius); padding: 24px 22px 22px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.18), 0 6px 0 #221f5c, 0 16px 30px rgba(0,0,0,.25);
}
.card .em {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(94,224,255,.16); color: var(--clear);
}
.card .em svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--round); font-weight: 900; font-size: 21px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--text-soft); font-size: 16px; }

/* --- gallery --- */
.gallery { padding: 90px 0 200px; }
.gallery .wrap { position: relative; z-index: 2; }
.gallery p.sub { text-align: center; color: var(--text-soft); margin: 0 auto 40px; max-width: 36em; font-size: 18px; }
/* Mac, iPad and iPhone together: the Mac stands at the back and the iPad and iPhone hover in front of it,
   tilted, bobbing gently the way the Wontots do, each with a soft shadow that shrinks as it rises */
.scene { position: relative; width: 100%; max-width: 1040px; margin: 0 auto; aspect-ratio: 16 / 9.6; }
.scene figure { margin: 0; }
.scene img { height: auto; }
.mac { position: absolute; left: 17%; width: 66%; top: 2%; z-index: 1; }
.mac-screen {
  background: #0d0c18; border-radius: 18px 18px 4px 4px; padding: 1.6% 1.6% 2.4%;
  box-shadow: 0 30px 60px rgba(20,10,60,.5), inset 0 0 0 2px rgba(255,255,255,.1);
}
.mac-screen img { width: 100%; aspect-ratio: 1600 / 898; object-fit: cover; border-radius: 6px; }
.mac-base {
  position: relative; height: 14px; margin: 0 -7%; border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #d7d6e4 0%, #a9a7bd 60%, #7f7d96 100%);
  box-shadow: 0 14px 24px rgba(20,10,60,.45);
}
.mac-base::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 6px; transform: translateX(-50%);
  background: #8d8ba3; border-radius: 0 0 8px 8px;
}

.tablet { position: absolute; left: -1%; bottom: 4%; width: 37%; z-index: 2; }
.handset { position: absolute; right: 2%; bottom: 2%; width: 14.5%; z-index: 3; }
.tablet .tilt { transform: rotate(-8deg); }
.handset .tilt { transform: rotate(9deg); }
.tablet-frame {
  background: linear-gradient(160deg, #3d3a5c, #15132b); border-radius: 26px; padding: 3.4%;
  box-shadow: 0 34px 50px rgba(20,10,60,.5), inset 0 0 0 2px rgba(255,255,255,.12);
}
.tablet-frame img { width: 100%; aspect-ratio: 1300 / 903; object-fit: cover; border-radius: 14px; }
.scene .phone { position: relative; width: 100%; border-radius: 30px; padding: 7px; box-shadow: 0 34px 50px rgba(20,10,60,.55), inset 0 0 0 2px rgba(255,255,255,.12); }
.scene .phone img { border-radius: 24px; }

/* the hover: the device bobs, its shadow on the "ground" below breathes the other way */
.hover .tilt { animation: hover-tablet 4.2s ease-in-out infinite; }
.handset.hover .tilt { animation: hover-phone 3.6s ease-in-out infinite; animation-delay: -1.2s; }
@keyframes hover-tablet { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-6.5deg) translateY(-16px); } }
@keyframes hover-phone { 0%, 100% { transform: rotate(9deg) translateY(0); } 50% { transform: rotate(10.5deg) translateY(-14px); } }
.hover::after {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -34px; height: 22px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(27,22,64,.45), rgba(27,22,64,0));
  animation: hover-shadow 4.2s ease-in-out infinite; z-index: -1;
}
.handset.hover::after { left: 8%; right: 8%; bottom: -30px; animation-duration: 3.6s; animation-delay: -1.2s; }
@keyframes hover-shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.82); opacity: .6; } }

.store-again { display: flex; justify-content: center; margin-top: 64px; }

/* --- footer --- */
footer { background: var(--ink); color: var(--text-soft); padding: 40px 0 48px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--text); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--clear); }
.by { display: flex; align-items: center; gap: 8px; }
.legal-note { width: 100%; font-size: 13px; color: #9c97cf; margin: 0; }

/* --- document pages (privacy, support) --- */
.doc-head { padding: 110px 0 120px; }
.doc-head .wrap { position: relative; z-index: 2; text-align: center; }
.doc-head h1 { font-family: var(--round); font-weight: 900; font-size: clamp(34px, 5vw, 52px); margin: 0 0 8px; text-shadow: 0 3px 0 rgba(27,22,64,.35); }
.doc-head p { margin: 0; color: var(--text-soft); font-size: 18px; }
.doc { background: var(--paper); color: var(--paper-ink); padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h2 { font-family: var(--round); font-weight: 900; font-size: 26px; margin: 42px 0 10px; line-height: 1.2; }
.doc h3 { font-family: var(--round); font-weight: 800; font-size: 19px; margin: 26px 0 6px; }
.doc p, .doc li { font-size: 17px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc a { color: #4b3bd6; }
.doc .summary {
  background: #efeaff; border-radius: var(--radius); padding: 22px 24px; margin: 0 0 10px;
}
.doc .summary h2 { margin-top: 0; }
.doc .summary ul { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #e3ddf5; }
.doc th { font-family: var(--round); font-weight: 800; background: #f4f0ff; }
.doc .muted { color: var(--paper-soft); }
.doc details {
  background: #fff; border: 1px solid #e6e0f7; border-radius: 16px; padding: 4px 18px; margin: 10px 0;
}
.doc summary { cursor: pointer; font-family: var(--round); font-weight: 800; font-size: 18px; padding: 12px 0; }
.doc details p { margin-top: 0; }
.contact-card {
  display: flex; gap: 16px; align-items: center; background: #efeaff; border-radius: var(--radius); padding: 20px 22px; margin: 18px 0;
}
.contact-card img { width: 64px; height: 64px; flex: none; }
.contact-card strong { font-family: var(--round); font-size: 20px; }
.table-scroll { overflow-x: auto; }

/* --- narrow screens --- */
@media (max-width: 960px) {
  .hero { padding: 100px 0 150px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .lede { margin-inline: auto; }
  .cta { justify-content: center; }
  .phones { height: 520px; max-width: 460px; width: 100%; margin: 10px auto 0; }
  .phones .phone { width: min(230px, 56%); }
  .phone.front { right: 6%; }
  .phone.back { left: 6%; top: 50px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .six { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
}
@media (max-width: 700px) {
  .scene { aspect-ratio: auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px 14px; align-items: center; padding-bottom: 40px; }
  .scene .mac, .scene .tablet, .scene .handset { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; }
  .scene .mac { grid-column: 1 / -1; padding: 0 4%; }
  .scene .tablet { margin-top: -8%; }
  .scene .handset { margin-top: -18%; padding: 0 14%; }
  .tablet-frame { border-radius: 16px; }
  .tablet-frame img { border-radius: 9px; }
  .mac-base { height: 9px; }
  .mac-screen { border-radius: 12px 12px 3px 3px; }
  .scene .phone { border-radius: 22px; padding: 5px; }
  .scene .phone img { border-radius: 18px; }
  .hover::after { bottom: -22px; height: 14px; }
  .store-again { margin-top: 20px; }
}
@media (max-width: 560px) {
  .top nav a { padding: 6px 8px; font-size: 14px; }
  .brand img.mark { display: none; }
  .phones { height: 430px; }
  .phones .phone { width: min(190px, 54%); }
  .phone { border-radius: 34px; padding: 8px; }
  .phone img { border-radius: 27px; }
  .grid { grid-template-columns: 1fr; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
  /* the privacy table becomes one card per row */
  .doc thead { display: none; }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc tr { background: #fff; border: 1px solid #e6e0f7; border-radius: 16px; padding: 12px 16px; margin: 10px 0; }
  .doc td { border: 0; padding: 4px 0; }
  .doc td:first-child { font-family: var(--round); font-weight: 800; }
  .doc td:nth-child(2)::before { content: "Why: "; font-weight: 700; }
  .doc td:nth-child(3)::before { content: "Kept: "; font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  .stars i, .six img, .hover .tilt, .hover::after { animation: none; }
}
