/* Unu landing site. Colours and type follow the iOS app's Theme.swift. */

@font-face { font-family: "Cinea"; src: url("fonts/TBJCineaSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Circular"; src: url("fonts/CircularXXTT-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Circular"; src: url("fonts/CircularXXTT-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Circular"; src: url("fonts/CircularXXTT-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #F6F3EE;
  --paper-2: #EEE9E1;
  --card: #FFFFFF;
  --ink: #1D1A16;
  --muted: #6B655C;
  --line: #E9E4DC;
  --green: #3D8C5C;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(40, 30, 15, .28), 0 2px 6px rgba(40, 30, 15, .06);
  --sans: "Circular", ui-sans-serif, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Cinea", "Circular", ui-sans-serif, -apple-system, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(246, 243, 238, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font: 500 30px/1 var(--display); letter-spacing: -.01em; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #fff; }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--ink); color: #fff; font: 500 16px/1 var(--sans);
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: #000; }
.btn.small { height: 40px; padding: 0 18px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; overflow-x: clip; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); background: var(--card); padding: 7px 14px; border-radius: 999px; box-shadow: 0 1px 0 var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; flex: none; }
h1 {
  font: 700 clamp(44px, 8vw, 84px)/1.0 var(--sans); letter-spacing: -.035em;
  margin: 22px auto 18px; max-width: 14ch;
}
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 34em; margin: 0 auto 30px; }

.fan { position: relative; height: 430px; max-width: 760px; margin: 52px auto 0; }
.shot {
  position: absolute; width: 240px; background: var(--card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); left: 50%;
}
.shot .bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; font-size: 14px; color: var(--muted); }
.shot img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.shot.l { transform: translateX(-118%) translateY(52px) rotate(-8deg); }
.shot.c { transform: translateX(-50%); z-index: 2; }
.shot.r { transform: translateX(18%) translateY(52px) rotate(8deg); }
@media (max-width: 640px) {
  .fan { height: 330px; }
  .shot { width: 172px; }
  .shot.l { transform: translateX(-104%) translateY(40px) rotate(-8deg); }
  .shot.r { transform: translateX(4%) translateY(40px) rotate(8deg); }
}

/* Waitlist form */
.join { display: flex; gap: 10px; justify-content: center; max-width: 460px; margin: 0 auto; }
.join input {
  flex: 1; min-width: 0; height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card); font: 400 16px var(--sans); color: var(--ink);
}
.join input:focus { outline: none; border-color: var(--ink); }
.join-note { font-size: 14px; color: var(--muted); margin-top: 12px; min-height: 1.5em; }
@media (max-width: 480px) { .join { flex-direction: column; } .join input { flex: none; width: 100%; } .join .btn { width: 100%; } }

/* Sections */
section { padding: 72px 0; }
h2 { font: 700 clamp(34px, 5vw, 52px)/1.05 var(--sans); letter-spacing: -.03em; margin: 0 0 14px; }
.sub { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 0 40px; }
.label { font: 700 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }
.step { background: var(--paper-2); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 10px; min-height: 380px; }
.step h3 { font: 500 25px/1.2 var(--sans); letter-spacing: -.01em; margin: 6px 0 0; }
.step p { margin: 0; color: var(--muted); }
.step .art { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.mini { background: var(--card); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-weight: 500; box-shadow: 0 1px 0 var(--line); }
.mini img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.mini .grow { flex: 1; }
.mini .muted { color: var(--muted); font-weight: 400; }
.step .shot { position: static; width: 150px; transform: rotate(-3deg); }
.step .shot .bar { height: 32px; font-size: 12px; padding: 0 12px; }

/* Deal card */
.deal { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .deal { grid-template-columns: 1fr; gap: 36px; } }
.pcard { background: var(--card); border-radius: 28px; box-shadow: var(--shadow); padding: 18px; max-width: 440px; width: 100%; justify-self: center; }
.pcard .head { display: flex; gap: 16px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pcard .head img { width: 84px; height: 108px; border-radius: 14px; object-fit: cover; }
.pcard .name { font-weight: 500; font-size: 18px; line-height: 1.3; }
.pcard .meta { color: var(--muted); font-size: 14px; }
.pcard .best { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 4px 10px; }
.pcard .best b { font-size: 30px; letter-spacing: -.02em; }
.row { display: flex; align-items: center; gap: 10px; padding: 12px 4px; border-top: 1px solid var(--line); font-size: 15px; }
.row .shop { flex: 1; }
.tag { font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: #E6F1EA; color: #2C6B45; }
.tag.sim { background: var(--paper-2); color: var(--muted); }
.row .price { font-weight: 500; min-width: 52px; text-align: right; }
.row .was { color: var(--muted); text-decoration: line-through; font-size: 13px; }

.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.points .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; margin-top: 2px; }
.points b { display: block; font-weight: 500; font-size: 19px; }
.points span { color: var(--muted); }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } }
.tcard { background: var(--card); border-radius: 24px; padding: 28px; box-shadow: 0 1px 0 var(--line); }
.tcard h3 { font: 500 20px/1.25 var(--sans); margin: 0 0 8px; }
.tcard p { margin: 0; color: var(--muted); font-size: 16px; }
.tcard a { color: var(--ink); }

/* CTA band */
.band { background: var(--ink); color: var(--paper); border-radius: 36px; padding: clamp(40px, 7vw, 80px) 24px; text-align: center; }
.band h2 { color: #fff; }
.band .sub { color: #B9B2A7; margin: 0 auto 30px; }
.band .join input { background: #2A2621; border-color: #3A352E; color: #fff; }
.band .join input::placeholder { color: #8E877C; }
.band .join input:focus { border-color: #fff; }
.band .btn { background: var(--paper); color: var(--ink); }
.band .join-note { color: #B9B2A7; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Footer */
footer { padding: 56px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 36px; }
footer .logo { color: var(--ink); font-size: 26px; display: inline-block; margin-bottom: 8px; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--ink); }
.fine { font-size: 13px; max-width: 46em; margin: 10px 0 0; }

/* Legal and support pages */
.doc { max-width: 760px; padding: 48px 0 24px; }
.doc h1 { font-size: clamp(40px, 6vw, 60px); margin: 8px 0 10px; max-width: none; }
.doc .updated { color: var(--muted); margin: 0 0 36px; }
.doc h2 { font-size: 26px; letter-spacing: -.015em; margin: 44px 0 10px; }
.doc h3 { font-size: 19px; font-weight: 500; margin: 26px 0 6px; }
.doc p, .doc li { color: #3B362F; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--card); border-radius: 20px; padding: 22px 24px; box-shadow: 0 1px 0 var(--line); margin: 24px 0; }
.doc .box p { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 500; color: var(--ink); }
@media (max-width: 560px) { .doc table, .doc tbody, .doc tr, .doc td, .doc th { display: block; } .doc thead { display: none; } .doc td { border: 0; padding: 2px 0; } .doc tr { border-top: 1px solid var(--line); padding: 10px 0; } }

/* Text conversation mock and card actions */
.chat { gap: 8px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 20px; font-size: 15px; line-height: 1.35; }
.bubble.me { align-self: flex-end; background: #2F7CF6; color: #fff; border-bottom-right-radius: 6px; }
.bubble.them { align-self: flex-start; background: var(--card); color: var(--ink); border-bottom-left-radius: 6px; box-shadow: 0 1px 0 var(--line); }
.pcard .row { border-top: 0; padding-top: 16px; }
.actions { display: grid; gap: 10px; padding: 8px 4px 4px; }
.actions .btn { width: 100%; }
