/* KonekGo website: one stylesheet for all three pages. */

:root {
  --brand: #19d96b;
  --brand-ink: #0b7d3c;
  --brand-ink-hover: #085f2e;
  --brand-tint: #e3faee;
  --text: #171717;
  --text-body: #2b2b2b;
  --text-secondary: #5c5c5c;
  --text-muted: #767676;
  --text-on-dark: #b5b5b5;
  --dark: #1c1c1c;
  --dark-raised: #2a2a2a;
  --surface: #ffffff;
  --surface-muted: #f3f3f3;
  --divider: #e8e8e8;
  --field-border: #d5dcd8;
  --sky: #edf0f4;
  --tint-ride: #f4f4f2;
  --tint-food: #fff4e3;
  --selection: #b5ecc9;
  --max: 1200px;
  --gutter: 1.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-ink); }
a:hover { color: var(--brand-ink-hover); }
::selection { background: var(--selection); color: var(--text); }

a:focus-visible,
button:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; }

img { max-width: 100%; }

/* Hidden stays hidden, even on elements that set their own display. */
[hidden] { display: none !important; }

.container { max-width: var(--max); margin: 0 auto; }

/* ---------- Header band (grey "sky" on Home and Delete, mint on Privacy) ---------- */

.band {
  background: var(--sky);
  border-radius: 0 0 36px 36px;
  padding: 0 var(--gutter) 3.5rem;
}
.band--home { padding-bottom: 4.5rem; }
.band--mint { background: var(--brand-tint); }

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.logo:hover { color: var(--text); }
.logo__word { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.logo__word span,
.footer-logo__word span { color: var(--brand-ink); }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  font-size: 15px;
  font-weight: 600;
}
.nav a { color: var(--text); text-decoration: none; padding: 12px; }
.nav a:hover { color: var(--brand-ink); }
.nav a[aria-current="page"] { color: var(--brand-ink); }
.nav a.nav__cta {
  color: #fff;
  background: var(--dark);
  padding: 12px 20px;
  border-radius: 999px;
  margin-left: 6px;
}
.nav a.nav__cta:hover { background: #000; color: #fff; }

/* ---------- Page intro (Privacy, Delete) ---------- */

.intro {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.intro h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.intro h1.narrow { max-width: 18ch; }
.intro .updated { margin: 0; font-size: 15px; font-weight: 600; color: var(--text-secondary); }
.intro .lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--text-secondary); max-width: 46rem; }

/* ---------- Home: hero ---------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 32px;
}
.hero__text {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.chip {
  margin: 0;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.hero__lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--text-secondary); max-width: 34rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 26px 14px 20px;
  min-height: 60px;
}
.btn-store:hover { color: #fff; background: #000; }
.btn-store__text { display: flex; flex-direction: column; line-height: 1.15; }
.btn-store__small { font-size: 12px; color: var(--text-on-dark); font-weight: 500; }
.btn-store__big { font-size: 17px; font-weight: 600; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
  border-radius: 999px;
  padding: 0 24px;
  min-height: 60px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--divider);
}
.btn-secondary:hover { color: var(--text); border-color: #cfcfcf; }

.hero__phones {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: 12px;
}
.phone {
  flex: 0 0 auto;
  border: 9px solid var(--dark);
  border-radius: 42px;
  overflow: hidden;
  background: var(--surface);
}
.phone img { display: block; width: 100%; height: auto; }
.phone--back {
  width: 258px; /* 240px of screen + the 9px frame on each side */
  box-shadow: 0 30px 60px -20px rgba(23, 23, 23, 0.35);
  transform: translateY(40px) rotate(-5deg);
  margin-right: -48px;
}
.phone--front {
  width: 302px; /* 282px of screen + the 10px frame on each side */
  border-width: 10px;
  border-radius: 46px;
  box-shadow: 0 40px 80px -24px rgba(23, 23, 23, 0.45);
  position: relative;
}

/* ---------- Home: sections ---------- */

.section { max-width: var(--max); margin: 0 auto; padding: 5rem var(--gutter) 2rem; }
.section--services { padding-top: 6rem; }
.section--riders { padding: 5rem var(--gutter); }

.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 40rem; margin-bottom: 44px; }
.h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.section-lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text-muted); }

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.service {
  border-radius: 22px;
  padding: 28px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.service--ride { background: var(--tint-ride); }
.service--food { background: var(--tint-food); }
.service--grocery { background: var(--brand-tint); }
.service h3 { margin: 0; font-size: 26px; letter-spacing: -0.02em; font-weight: 700; }
.service p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-secondary); }
.service__phone {
  margin: 18px auto 0;
  width: 248px; /* 230px of screen + the frame */
  border: 9px solid var(--dark);
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
  overflow: hidden;
  height: 300px;
}
.service__phone img { display: block; width: 100%; height: auto; }
.coming-next { margin: 22px 0 0; font-size: 15px; color: var(--text-muted); }

.promises-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.promises-head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.promises {
  flex: 2 1 560px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px 32px;
}
.promise { display: flex; flex-direction: column; gap: 10px; }
.icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--brand-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.promise h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.promise p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-muted); }

.riders {
  background: var(--dark);
  color: #fff;
  border-radius: 36px;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.riders__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.riders__text .h2 span { color: var(--brand); }
.riders__text p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text-on-dark); max-width: 32rem; }
.steps {
  flex: 1 1 360px;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--dark-raised);
  border-radius: 20px;
  padding: 16px 18px;
}
.steps__num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps__text { font-size: 16px; line-height: 1.5; }
.steps__text strong { font-weight: 600; }
.steps__text span { color: var(--text-on-dark); }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--divider); }
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--gutter) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.footer__inner--home { padding: 40px var(--gutter) 48px; gap: 28px; align-items: flex-start; }
.footer__about { display: flex; flex-direction: column; gap: 10px; max-width: 26rem; }
.footer__about p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo__word { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.footer__copy { margin: 0; font-size: 13px; color: var(--text-muted); }
.footer__copy--home { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 32px; }
.footer .nav { gap: 4px 8px; }

/* ---------- Privacy ---------- */

.legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.toc {
  flex: 1 1 220px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
}
.toc__title { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.toc a { color: var(--text); text-decoration: none; padding: 10px 14px; border-radius: 12px; }
.toc a:hover { background: var(--surface-muted); color: var(--text); }
.toc a.is-active { background: var(--surface-muted); font-weight: 600; }

.policy {
  flex: 999 1 560px;
  min-width: 0;
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  gap: 44px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
}
.policy section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 24px; }
.policy h2 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; color: var(--text); }
.policy p { margin: 0; }
.policy ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px; }
.callout {
  background: var(--surface-muted);
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--text);
}
.policy .contact-box { background: var(--brand-tint); border-radius: 22px; padding: 26px 28px; }
.contact-box .operator { color: var(--text-secondary); font-size: 15px; }

/* ---------- Delete your account ---------- */

.paths {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}
.card { border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.card--outline { border: 1px solid var(--divider); }
.card--mint { background: var(--brand-tint); }
.card__head { display: flex; align-items: center; gap: 12px; }
.card__head .icon-tile { width: 44px; height: 44px; border-radius: 14px; }
.card--mint .icon-tile { background: var(--surface); }
.card__head h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; font-weight: 700; }
.howto { display: flex; flex-direction: column; gap: 6px; }
.howto h3 { margin: 0; font-size: 16px; font-weight: 700; }
.howto ol {
  margin: 0;
  padding-left: 1.3em;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.howto strong { font-weight: 600; }
.note {
  margin: 0;
  background: var(--surface-muted);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.form { display: flex; flex-direction: column; gap: 16px; }
.form__intro { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-secondary); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input {
  height: 52px;
  border: 1px solid var(--field-border);
  border-radius: 16px;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  background: var(--surface);
  color: var(--text);
}
.field input::placeholder { color: #8a8a8a; }
.field input:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body);
  min-height: 44px;
  cursor: pointer;
}
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand-ink); flex: 0 0 auto; }
.btn-primary {
  height: 60px;
  border: 0;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary:hover { background: #000; }
.form__small { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.form__error { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 500; color: #c62828; }
.btn-primary:disabled { opacity: 0.6; cursor: default; }
/* Honeypot field: off screen for people, still in the form for bots. */
.field--trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.sent {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sent__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sent h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.sent p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-secondary); }
.btn-outline {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.btn-outline:hover { border-color: #cfcfcf; }

.info { max-width: var(--max); margin: 0 auto; padding: 2rem var(--gutter) 5rem; }
.info > h2 {
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.info__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.info__col { display: flex; flex-direction: column; gap: 12px; }
.info__col h3 { margin: 0; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.info__col ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info__col p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-body); }
.info__more { margin: 32px 0 0; font-size: 15px; color: var(--text-secondary); }
.info__more a { font-weight: 600; }

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  /* Cards with a 300–320px minimum would push the page sideways on small phones. */
  .services,
  .paths,
  .info__grid,
  .promises { grid-template-columns: 1fr; }

  /* The two hero phones together are wider than a phone screen: shrink them. */
  .phone--back { width: 46%; margin-right: -12%; border-width: 7px; border-radius: 32px; }
  .phone--front { width: 54%; border-width: 8px; border-radius: 36px; }

  .card { padding: 22px; }
  .toc { max-width: none; }
}
