@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}

@font-face {
  font-family: Lora;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lora-400.woff2") format("woff2");
}

@font-face {
  font-family: Lora;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/lora-600.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --bg: #fafafa;
  --bg-elev: #ffffff;
  --fg: #0d0f0d;
  --muted: #55605a;
  --subtle: #f0f1ee;
  --border: #e2e4e0;
  --brand: #08bf62;
  --brand-ink: #067a40;
  --shadow-sm: 0 1px 2px rgba(16, 20, 16, 0.04);
  --shadow: 0 18px 48px rgba(16, 20, 16, 0.1);
  --phone-bg: #ffffff;
  --phone-fg: #0d0f0d;
  --phone-muted: #5a5a5a;
  --phone-chip: #f1f5f9;
  --phone-bezel: #141414;
  --max: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --grad: linear-gradient(135deg, #00bf63, #0687ff, #ca6ce6);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --bg-elev: #1a1a1a;
    --fg: #f5f5f4;
    --muted: #b3b7b2;
    --subtle: #212221;
    --border: #2d2e2c;
    --brand-ink: #4fd98a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
    --phone-bg: #1a1a1a;
    --phone-fg: #f5f5f4;
    --phone-muted: #a8a8a6;
    --phone-chip: rgba(255, 255, 255, 0.06);
    --phone-bezel: #050505;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-ink);
}

a:hover {
  color: var(--brand);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.75rem;
  background: var(--bg-elev);
  color: var(--fg);
  border-radius: 0.5rem;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px) saturate(1.1);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  min-height: 4.5rem;
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-family: Lora, ui-serif, Georgia, serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 999px;
}

.nav-links {
  display: flex;
  flex: 1 1 16rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.94rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--fg);
  background: var(--subtle);
}

.nav-cta {
  margin-left: 0.25rem;
  background: var(--fg) !important;
  color: var(--bg) !important;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(2.75rem, 6vw, 5.5rem) 0 3.5rem;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--brand-ink);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1,
h2,
.display {
  font-family: Lora, ui-serif, Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.5rem, 5.4vw, 3.9rem);
  max-width: 16ch;
}

h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
}

h3 {
  margin: 0 0 0.4rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.lede,
.section-copy {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
}

.button-primary {
  background: var(--fg);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}

.button-primary:hover {
  color: var(--bg);
  opacity: 0.9;
}

.button-ghost {
  background: var(--bg-elev);
  color: var(--fg);
  border-color: var(--border);
}

.button-ghost:hover {
  color: var(--fg);
  background: var(--subtle);
}

.button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.6;
}

.phones {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  justify-items: center;
  padding: 1.5rem 0;
}

.phones::before {
  content: "";
  position: absolute;
  inset: -10% -5%;
  z-index: -1;
  background: radial-gradient(
    circle at 50% 42%,
    color-mix(in srgb, var(--brand) 14%, transparent),
    transparent 65%
  );
  pointer-events: none;
}

.phone {
  width: min(100%, 248px);
  margin: 0;
}

.phone-shift {
  margin-top: 2.4rem;
}

.phone-frame {
  position: relative;
  padding: 9px;
  background: var(--phone-bezel);
  border-radius: 2.15rem;
  box-shadow: var(--shadow);
}

.phone-screen {
  overflow: hidden;
  min-height: 490px;
  padding: 0.7rem 0.7rem 1rem;
  background: var(--phone-bg);
  color: var(--phone-fg);
  border-radius: 1.7rem;
}

.island {
  width: 72px;
  height: 16px;
  margin: 0 auto 0.7rem;
  background: #111;
  border-radius: 999px;
}

.status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
}

.search,
.chip,
.note,
.menu-row,
.storage {
  background: var(--phone-chip);
  border-radius: 0.85rem;
}

.search {
  padding: 0.55rem 0.7rem;
  color: color-mix(in srgb, var(--phone-fg) 45%, transparent);
  font-size: 0.78rem;
}

.inbox-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  margin: 0.6rem 0 0.75rem;
}

.smart-index,
.ask {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.1rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
}

.smart-index {
  background: var(--grad);
  color: #fff;
}

.ask {
  background: var(--phone-fg);
  color: var(--phone-bg);
}

.notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.note {
  min-height: 92px;
  padding: 0.6rem;
}

.note strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
}

.note span {
  color: var(--phone-muted);
  font-size: 0.66rem;
}

.plus {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0.9rem auto 0;
  background: var(--phone-fg);
  border-radius: 999px;
}

.plus svg {
  width: 18px;
  height: 18px;
  stroke: var(--phone-bg);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.menu-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.phone-title {
  margin: 0 0 0.75rem;
  font-family: Lora, ui-serif, Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

.phone-body {
  margin: 0 0 1rem;
  color: var(--phone-muted);
  font-size: 0.78rem;
}

.storage-row {
  display: flex;
  gap: 0.4rem;
}

.storage {
  flex: 1;
  padding: 0.55rem 0.4rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
}

.storage.is-on {
  background: var(--phone-fg);
  color: var(--phone-bg);
}

.kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.kind {
  padding: 0.45rem 0.7rem;
  background: var(--phone-chip);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  border-block: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elev) 70%, var(--bg));
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.feature-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  padding: 1.3rem 1.3rem 1.4rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card p,
.legal p,
.legal li {
  color: var(--muted);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}

.card svg,
.menu-row svg,
.note svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta {
  text-align: center;
  padding: 3.4rem var(--gutter);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.cta .lede {
  margin-inline: auto;
}

.page-hero {
  padding: 3.25rem 0 1.75rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.download-mark {
  display: block;
  width: 88px;
  height: 88px;
  margin-bottom: 1.35rem;
  border-radius: 999px;
}

.store-slot {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.4rem;
  padding: 0.55rem 1.1rem 0.55rem 0.85rem;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  border-radius: 0.7rem;
  opacity: 0.45;
  pointer-events: none;
}

.store-badge small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
}

.store-badge strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.store-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: 3rem;
  align-items: start;
  padding-bottom: 3rem;
}

.faq {
  display: grid;
  gap: 0.85rem;
}

.faq details {
  padding: 1rem 1.15rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .support-layout {
    grid-template-columns: 1fr;
  }
}

.legal {
  max-width: 44rem;
  padding-bottom: 4rem;
}

.legal h2 {
  margin-top: 2.2rem;
  font-size: 1.4rem;
}

.legal ul {
  padding-left: 1.2rem;
}

.form {
  display: grid;
  gap: 0.9rem;
  max-width: 36rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: var(--bg-elev);
  color: var(--fg);
  font: inherit;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 2.6rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.1rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--fg);
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  padding: 0.32rem 0.75rem;
  background: color-mix(in srgb, var(--brand) 14%, var(--bg-elev));
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  color: var(--brand-ink);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.soon::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 999px;
}

@media (max-width: 900px) {
  .hero,
  .split,
  .feature-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .phones {
    max-width: 34rem;
    margin-inline: auto;
  }

  .phone-shift {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .nav-links {
    width: 100%;
  }

  .phones {
    grid-template-columns: 1fr;
  }

  .phone-shift {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
