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

:root {
  color-scheme: light dark;
  --terracotta: #8a432e;
  --peach: #ffbe98;
  --peach-soft: #ffdcca;
  --sand: #f4e3cc;
  --bg: #fff8f3;
  --surface: #fffdfb;
  --ink: #33241f;
  --muted: #70564b;
  --line: rgba(138, 67, 46, 0.18);
  --accent: var(--terracotta);
  --on-accent: #fff8f3;
  --header: rgba(255, 248, 243, 0.82);
  --deep: #241a17;
  --deep-ink: #fff3ea;
  --deep-muted: #d9bfb2;
  --serif: "Lora", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  --wrap: 620px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1412;
    --surface: #241a17;
    --ink: #fff3ea;
    --muted: #d9bfb2;
    --line: rgba(255, 190, 152, 0.2);
    --accent: var(--peach);
    --on-accent: #33241f;
    --header: rgba(28, 20, 18, 0.82);
    --deep: #2e211d;
    --peach-soft: #5e3525;
    --sand: #3a2a24;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 10;
  background: var(--surface);
  padding: 8px 14px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--header);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 500 24px/1 var(--serif);
  letter-spacing: -0.01em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.lang {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* Type */
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.16;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(38px, 9vw, 54px);
}

h2 {
  font-size: clamp(28px, 6vw, 36px);
}

h3 {
  font-size: 21px;
  line-height: 1.3;
}

p {
  margin: 0 0 16px;
}

.kicker {
  display: block;
  margin: 0 0 14px;
  font: 600 12.5px/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  font-size: 19px;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 14.5px;
}

/* Sections */
section {
  padding: 64px 0;
}

section + section {
  border-top: 1px solid var(--line);
}

.hero {
  padding: 48px 0 56px;
}

.hero-art {
  margin: 36px auto 0;
  max-width: 420px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(138, 67, 46, 0.55);
  aspect-ratio: 4 / 5;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 26px 0 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

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

.button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--peach-soft);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
}

/* Dark band with chat */
.deep {
  background: var(--deep);
  color: var(--deep-ink);
  border-top: 0 !important;
}

.deep + section {
  border-top: 0;
}

.deep .kicker {
  color: var(--peach);
}

.deep .muted,
.deep p {
  color: var(--deep-muted);
}

.deep h2 {
  color: var(--deep-ink);
}

.chat {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.bubble {
  max-width: 88%;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 16px;
  line-height: 1.55;
}

.bubble p {
  margin: 0;
  color: inherit !important;
}

.bubble p + p {
  margin-top: 10px;
}

.bubble .who {
  display: block;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peach);
}

.from-damla {
  background: rgba(255, 243, 234, 0.07);
  border: 1px solid rgba(255, 190, 152, 0.2);
  border-bottom-left-radius: 6px;
}

.from-you {
  justify-self: end;
  background: var(--peach);
  color: #33241f;
  border-bottom-right-radius: 6px;
}

.from-you .who {
  color: #8a432e;
}

.noticed {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 190, 152, 0.4);
}

.noticed ul {
  margin: 0;
  padding-left: 20px;
  color: var(--deep-muted);
}

.noticed li + li {
  margin-top: 6px;
}

.noticed q {
  color: var(--deep-ink);
}

/* Features */
.feature-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 8px;
}

.card h3 {
  margin-bottom: 8px;
}

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

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.phone {
  max-width: 290px;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  border: 8px solid #33241f;
  box-shadow: 0 30px 60px -30px rgba(51, 36, 31, 0.6);
  background: #fff8f3;
}

.list-not {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.list-not li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);
}

.list-not li:last-child {
  border-bottom: 0;
}

.list-not li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 25px;
  width: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.list-not strong {
  font-weight: 600;
}

/* Plans */
.plans {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.plan {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.plan.plus {
  background: var(--peach-soft);
  border-color: transparent;
}

.plan h3 {
  margin-bottom: 4px;
}

.plan ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.plan li + li {
  margin-top: 6px;
}

.band {
  padding: 0;
  border-top: 0 !important;
}

.band img {
  width: 100%;
  height: clamp(220px, 42vw, 440px);
  object-fit: cover;
}

.band + section {
  border-top: 0;
}

.cta {
  text-align: center;
}

.cta .store {
  justify-content: center;
}

/* Legal / prose pages */
.prose {
  padding: 48px 0 72px;
}

.prose h1 {
  font-size: clamp(34px, 8vw, 46px);
}

.prose h2 {
  font-size: 25px;
  margin-top: 44px;
}

.prose h3 {
  font-size: 19px;
  margin-top: 28px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 0 0 16px;
}

.prose li + li {
  margin-top: 6px;
}

.summary {
  background: var(--peach-soft);
  border-radius: var(--radius);
  padding: 22px 24px 8px;
  margin: 28px 0 8px;
}

.summary ul {
  margin-bottom: 14px;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
}

th {
  font-weight: 600;
}

address {
  font-style: normal;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  list-style-position: outside;
}

details > div {
  padding: 0 0 10px;
  color: var(--muted);
}

.resources {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.resources .card {
  padding-bottom: 10px;
}

.resources .card h3 {
  margin-top: 0;
}

.resources ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 14.5px;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 14px;
}

.site-footer p {
  margin: 0 0 6px;
}

@media (min-width: 760px) {
  :root {
    --wrap: 760px;
  }

  .feature-grid,
  .plans,
  .resources {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .hero .wrap {
    max-width: 1040px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 56px;
    align-items: center;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-art {
    margin: 0;
  }

  .prose .wrap {
    max-width: 700px;
  }
}

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

.mt {
  margin-top: 20px;
}

.summary h2 {
  margin-top: 0;
}

code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

[id] {
  scroll-margin-top: 84px;
}
