/* Skynkod website: same palette and voice as the app (mauve from the logo,
   plum ink, serif headlines over a calm sky). */
:root {
  --mauve: #C5A8BB;
  --plum: #8A6380;
  --ink: #1E1A1D;
  --ink-plum: #4A2F42;
  --soft: #5E565C;
  --muted: #857C83;
  --bg: #FBF8FA;
  --surface: #F4EEF2;
  --card: #FFFFFF;
  --border: #EDE5EA;
  --serif: Georgia, 'Times New Roman', serif; /* only inside the app mock-up */
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
a { color: var(--plum); }
.serif { font-family: var(--serif); font-weight: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.small { font-size: 13px; color: var(--muted); }

/* ---------- Hero: the brand mauve, the logo, the app in a phone ---------- */
.hero { background: var(--mauve); color: #fff; }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; max-width: 1160px; width: 100%; margin: 0 auto; }
.nav-logo { height: 28px; width: auto; }
.lang {
  font: 600 13px var(--sans); letter-spacing: 1px; color: #fff; background: transparent;
  border: 1px solid rgba(255,255,255,0.7); border-radius: 999px; padding: 7px 14px; cursor: pointer;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto; padding: 40px 24px 0;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-bottom: 40px;
}
.hero-copy { padding-bottom: 0; }
.hero-logo { width: min(420px, 80%); height: auto; display: block; margin-bottom: 36px; }
.hero h1 { color: #fff; font-family: var(--sans); font-weight: 300; font-size: clamp(36px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
.hero h1 em { font-style: italic; }
.lead { color: rgba(255,255,255,0.9); font-size: 17px; line-height: 1.55; font-weight: 300; letter-spacing: 0.01em; max-width: 440px; margin: 18px 0 32px; }
.kicker { color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; margin: 0 0 12px; }

/* The phone */
.phone {
  justify-self: center; width: 320px; aspect-ratio: 330 / 680;
  background: #1E1A1D; border-radius: 54px; padding: 12px;
  box-shadow: 0 40px 80px rgba(74,47,66,0.35), inset 0 0 0 2px #3a3237;
}
.screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: var(--bg); font-family: var(--sans); }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; z-index: 3; }
/* The phone shows the first screen of the real Home, at the app's proportions
   (iPhone 390 pt wide, scaled to the mock-up). */
.hm-sky {
  height: 330px; padding: 10px 16px 0;
  background: linear-gradient(180deg, rgba(251,248,250,0) 50%, var(--bg) 100%), url('/assets/home-sky.jpg') center top / cover;
  display: flex; flex-direction: column;
}
.ios { display: flex; justify-content: space-between; align-items: center; padding: 2px 8px 0 10px; color: #fff; font-size: 12px; }
.ios b { font-weight: 600; letter-spacing: 0.2px; }
.ios span { display: flex; gap: 4px; font-size: 12px; }
.hm-top { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: 1.3px; }
.hm-top .bell { width: 29px; height: 29px; border-radius: 50%; background: rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.hm-hero { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 14px; }
.hm-hello { margin: 0; font-family: var(--serif); font-style: italic; font-size: 18px; color: #fff; text-shadow: 0 1px 6px rgba(60,35,55,0.25); }
.hm-name { margin: 0; font-family: var(--serif); font-size: 35px; line-height: 1.1; color: #fff; text-shadow: 0 1px 6px rgba(60,35,55,0.25); }
.hm-ask { align-self: flex-start; margin-top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.75); }
.hm-ask em { font-family: var(--serif); font-size: 9.5px; color: var(--ink-plum); }
.hm-moods { display: flex; justify-content: space-between; margin-top: 15px; }
.hm-moods span { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; color: var(--plum); font-size: 20px; }
.hm-notnow { margin: 8px 0 0; font-size: 9.5px; color: var(--ink-plum); opacity: 0.7; }
.hm-body { padding: 0 16px; margin-top: 0; }
.hm-glass { background: rgba(255,255,255,0.72); border: 1px solid rgba(255,255,255,0.8); border-radius: 22px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hm-search { display: flex; align-items: center; gap: 7px; height: 40px; border-radius: 999px; padding: 0 13px; font-size: 10.5px; color: var(--muted); }
.hm-search span { flex: 1; }
.hm-search .plum { color: var(--plum); font-size: 15px; }
.hm-card { margin-top: 12px; padding: 15px; box-shadow: 0 6px 18px rgba(74,47,66,0.06); }
.hm-card-head { display: flex; justify-content: space-between; font-size: 9px; color: var(--muted); }
.hm-card-head b { color: var(--plum); letter-spacing: 1px; }
.hm-dots { display: flex; gap: 4px; margin-top: 9px; }
.hm-dots i { flex: 1; height: 2px; border-radius: 2px; background: var(--border); transition: background .4s; }
.hm-dots i.on { background: var(--mauve); }
.hm-dots i.now { background: var(--plum); }
.hm-step { display: flex; align-items: center; gap: 12px; margin-top: 15px; }
.hm-step small { display: block; font-size: 8px; letter-spacing: 1px; color: var(--muted); font-weight: 700; }
.hm-step strong { display: block; font-family: var(--serif); font-weight: normal; font-size: 14.5px; color: var(--ink); margin-top: 2px; }
.hm-step > div:last-child { transition: opacity .35s; }
.hm-thumb { width: 48px; height: 48px; border-radius: 12px; background: #F1E8EE; color: var(--plum); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.hm-btn { margin-top: 15px; height: 38px; border-radius: 999px; background: var(--plum); color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; font-weight: 600; }

.app-tabs {
  position: absolute; left: 0; right: 0; bottom: 0; height: 58px; padding-bottom: 10px; background: #fff; border-top: 1px solid var(--border);
  display: flex; justify-content: space-around; align-items: center; color: var(--muted); font-size: 17px;
}
.app-tabs ion-icon:first-child { color: var(--muted); }
.app-tabs img { width: 18px; height: 18px; opacity: 0.55; }
.app-tabs .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--plum); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }

.glass {
  background: rgba(255,255,255,0.6);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.75);
}
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; max-width: 500px; }
.waitlist input {
  flex: 1 1 220px; min-width: 0; height: 52px; border-radius: 999px; border: 0;
  padding: 0 20px; font: 16px var(--sans); color: var(--ink); background: #fff;
}
.waitlist input:focus { outline: 2px solid var(--plum); outline-offset: 1px; }
.waitlist button {
  flex: 0 0 auto; height: 52px; border: 0; border-radius: 999px; padding: 0 26px;
  background: #000; color: #fff; font: 600 15px var(--sans); letter-spacing: 0.3px; cursor: pointer;
}
.waitlist button:disabled { opacity: 0.6; cursor: default; }
.consent { flex-basis: 100%; margin: 4px 6px 0; font-size: 12px; color: rgba(255,255,255,0.88); line-height: 1.5; }
.consent a { color: #fff; }
.message { flex-basis: 100%; margin: 4px 6px 0; font-size: 14px; font-weight: 600; color: #fff; }
.message:empty { display: none; }

/* ---------- Sections ---------- */
.section { max-width: 1100px; margin: 0 auto; padding: 72px 24px; }
.section h2, .band h2 { font-weight: 300; letter-spacing: -0.025em; }
.section h2 { font-size: clamp(30px, 4.5vw, 42px); margin: 0 0 36px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 28px; }
.card h3 { font-weight: 500; font-size: 19px; letter-spacing: -0.01em; margin: 16px 0 6px; }
.card p { margin: 0; color: var(--soft); font-size: 15px; }
.icon { width: 46px; height: 46px; border-radius: 50%; background: #F1E8EE; color: var(--plum); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.icon-img { width: 24px; height: 24px; }

/* ---------- Plum band with the moon ---------- */
.band { text-align: center; color: #F6F1F4; background: var(--ink-plum); padding: 96px 24px; }
.band .moon { width: 60px; height: 60px; filter: drop-shadow(0 0 18px rgba(255,255,255,0.45)); margin-bottom: 18px; }
.band h2 { font-size: clamp(30px, 4.5vw, 42px); margin: 0 0 16px; }
.band p { max-width: 560px; margin: 0 auto; font-size: 18px; color: rgba(246,241,244,0.85); }

/* The data promise: a plum block with three pillars */
.trust { padding: 0 24px 72px; }
.trust-inner {
  max-width: 1100px; margin: 0 auto; background: var(--ink-plum); color: #F6F1F4;
  border-radius: 36px; padding: 64px 48px 48px; text-align: center;
}
.trust-kicker { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--mauve); }
.trust h2 { font-size: clamp(30px, 4.5vw, 42px); font-weight: 300; letter-spacing: -0.025em; margin: 0 0 40px; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; text-align: left; }
.pillar { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 24px; padding: 26px; }
.pillar-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(197,168,187,0.22); color: #F1E8EE; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.pillar h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin: 16px 0 6px; color: #fff; }
.pillar p { margin: 0; font-size: 15px; color: rgba(246,241,244,0.75); }
.trust-note { margin: 32px 0 0; font-size: 13px; color: rgba(246,241,244,0.6); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); text-align: center; padding: 40px 24px 48px; }
.footer-logo { height: 26px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 20px 0 12px; }
.footer a { color: var(--soft); text-decoration: none; font-size: 14px; }
.footer a:hover { color: var(--plum); }

/* ---------- Legal pages ---------- */
.legal-top { background: var(--mauve); padding: 22px 24px; }
.legal-top .nav { padding: 0; }
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.legal h1 { font-weight: 300; letter-spacing: -0.025em; font-size: clamp(32px, 5vw, 44px); line-height: 1.15; margin: 0 0 8px; }
.legal h2 { font-weight: 400; letter-spacing: -0.015em; font-size: 26px; margin: 40px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--soft); font-size: 16px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--soft); }
.legal th { color: var(--ink); background: var(--surface); }
.legal .table-wrap { overflow-x: auto; }
.legal blockquote { margin: 16px 0; padding: 12px 16px; border-radius: 14px; background: var(--surface); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { padding-bottom: 24px; }
  .phone { width: 280px; }
}
@media (max-width: 520px) {
  .trust-inner { padding: 48px 22px 36px; border-radius: 28px; }
  .lead { font-size: 16px; }
  .waitlist button { flex-basis: 100%; }
}

/* "Powered by KODA", as on the app's splash screen */
.powered { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 24px 36px; }
.powered img { width: 24px; height: 24px; }
.powered span { display: block; color: rgba(255,255,255,0.85); font-size: 10px; font-weight: 500; }
.powered b { display: block; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 1.2px; margin-top: -1px; line-height: 1.1; }
