/* kaanam.in: the public website. The Flutter web app lives under /app.
   One font, Figtree, like the app. */
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --night: #0b1a2b;
  --deep: #173a5c;
  --leaf: #2a5f8a;
  --dusk: #5b7a99;
  --turmeric: #f2c46d;
  --cream: #fff8e8;
  --dim: rgba(255, 248, 232, 0.76);
  --faint: rgba(255, 248, 232, 0.12);
  --card: rgba(255, 248, 232, 0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 17px/1.65 "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand { font-weight: 800; letter-spacing: -0.02em; }
a { color: var(--turmeric); }
p, li { color: var(--dim); }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header ------------------------------------------------------------------ */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 26, 43, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--faint);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover { color: var(--cream); }

.button {
  display: inline-block;
  background: var(--turmeric);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  white-space: nowrap;
}
.button:hover { filter: brightness(1.06); }
.button.ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 248, 232, 0.35);
}
.top .button { padding: 9px 18px; font-size: 15px; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 320px at 85% 78%, rgba(242, 196, 109, 0.28), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--deep) 62%, #24507a 100%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 96px;
}
.eyebrow {
  display: inline-block;
  color: var(--turmeric);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; margin: 12px 0 18px; }
.hero h1 em { font-style: normal; color: var(--turmeric); }
.hero p.lead { font-size: 20px; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .note { font-size: 14px; margin-top: 18px; }

/* A phone showing the app, drawn in HTML. */
.phone {
  justify-self: center;
  width: 300px;
  border-radius: 44px;
  padding: 14px;
  background: #060f19;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone .screen {
  border-radius: 32px;
  padding: 26px 16px 20px;
  background: linear-gradient(180deg, #13304d 0%, var(--deep) 100%);
}
.phone .city { font-size: 28px; font-weight: 800; margin: 0; }
.phone .sub { margin: 0 0 16px; font-size: 13px; }
.tile {
  background: rgba(255, 248, 232, 0.07);
  border: 1px solid var(--faint);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.tile b { display: block; font-size: 15px; }
.tile span { color: var(--dim); font-size: 12.5px; }
.tile.hot { border-color: rgba(242, 196, 109, 0.55); }
.tile .pill {
  float: right;
  background: var(--turmeric);
  color: var(--night);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
}

/* Sections ---------------------------------------------------------------- */
section.band { padding: 88px 0; }
section.band.alt { background: #0e2236; }
section.band h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 6px 0 12px; }
section.band .intro { max-width: 40em; margin: 0 0 36px; font-size: 18px; }

.grid { display: grid; gap: 18px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--faint);
  border-radius: 20px;
  padding: 22px;
}
.card h3 { margin: 10px 0 6px; font-size: 20px; color: var(--cream); }
.card p { margin: 0; font-size: 15.5px; }
.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--turmeric);
  color: var(--night);
  font-size: 22px;
}

.steps { counter-reset: step; }
.steps .card h3::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--turmeric);
  color: var(--night);
  font-size: 15px;
}

.price { font-size: 40px; font-weight: 800; color: var(--turmeric); margin: 6px 0 2px; }
.price small { font-size: 16px; color: var(--dim); font-weight: 600; }
.card.feature { border-color: rgba(242, 196, 109, 0.55); }
.fineprint { font-size: 15px; margin-top: 22px; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin: 0 0 12px; }
.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--turmeric); font-weight: 700; }
.checks b { color: var(--cream); }

.cities { display: flex; flex-wrap: wrap; gap: 12px; }
.city-chip {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--faint);
  background: var(--card);
  font-weight: 600;
}
.city-chip.live { border-color: var(--turmeric); color: var(--turmeric); }
.city-chip span { color: var(--dim); font-weight: 400; font-size: 14px; margin-left: 6px; }

details {
  border-bottom: 1px solid var(--faint);
  padding: 16px 0;
}
summary { cursor: pointer; font-weight: 600; font-size: 18px; color: var(--cream); }
details p { margin: 10px 0 0; }

.cta {
  text-align: center;
  background: radial-gradient(500px 240px at 50% 100%, rgba(242, 196, 109, 0.22), transparent 70%), var(--deep);
}

/* Policy pages ------------------------------------------------------------ */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.15; margin: 0 0 8px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc .updated { font-size: 14px; margin: 0 0 24px; }

/* Footer ------------------------------------------------------------------ */
footer.site {
  border-top: 1px solid var(--faint);
  padding: 48px 0 40px;
  font-size: 15px;
}
footer.site .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
footer.site h4 { margin: 0 0 10px; font-size: 15px; color: var(--cream); }
footer.site a { display: block; color: var(--dim); text-decoration: none; margin: 4px 0; }
footer.site a:hover { color: var(--cream); }
footer.site p { margin: 8px 0 0; }

/* Phones and tablets ------------------------------------------------------ */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 64px; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .top .button { margin-left: auto; }
  footer.site .wrap { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid.four, .grid.two { grid-template-columns: 1fr; }
  section.band { padding: 64px 0; }
  .phone { width: 100%; max-width: 300px; }
}
