/* Nadan landing — warm domestic palette, no generic AI purple */

:root {
  --bg: #faf6f0;
  --bg-deep: #1c1917;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-muted: #57534e;
  --accent: #c45c3e;
  --accent-soft: rgba(196, 92, 62, 0.12);
  --sage: #5c7a6b;
  --sage-soft: rgba(92, 122, 107, 0.14);
  --border: rgba(28, 25, 23, 0.08);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 24px 48px -12px rgba(28, 25, 23, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: #a34a32;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--bg);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.2);
}

.btn--primary:hover {
  background: #292524;
  color: var(--bg);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--surface);
  text-decoration: none;
}

/* Hero */

.hero {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 85%;
  background: radial-gradient(
    ellipse 70% 50% at 50% 0%,
    var(--accent-soft),
    transparent 70%
  );
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 32ch;
  margin: 0 0 1.75rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.hero__meta strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

/* Phone mock */

.phone {
  position: relative;
  justify-self: center;
  width: min(100%, 300px);
  aspect-ratio: 9 / 18.5;
  background: linear-gradient(165deg, #292524 0%, #1c1917 50%, #44403c 100%);
  border-radius: 2.5rem;
  padding: 0.65rem;
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.phone__screen {
  height: 100%;
  border-radius: 2rem;
  background: linear-gradient(
    160deg,
    #faf6f0 0%,
    #f5ebe0 45%,
    #ede4d8 100%
  );
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
}

.phone__bar {
  height: 4px;
  width: 36%;
  margin-inline: auto;
  background: rgba(28, 25, 23, 0.12);
  border-radius: 999px;
}

.phone__card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.06);
  border: 1px solid var(--border);
}

.phone__card-title {
  font-weight: 700;
  font-size: 0.8125rem;
  margin: 0 0 0.35rem;
}

.phone__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.phone__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.phone__pill {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--sage-soft);
  color: var(--sage);
  border-radius: 999px;
}

/* Sections */

.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section__head p {
  margin: 0;
  color: var(--ink-muted);
}

/* Feature grid */

.features {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.feature:hover {
  border-color: rgba(196, 92, 62, 0.25);
  box-shadow: 0 12px 32px rgba(28, 25, 23, 0.06);
}

.feature__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature__icon--sage {
  background: var(--sage-soft);
  color: var(--sage);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.feature p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* CTA band */

.cta-band {
  margin-top: 0;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background: var(--bg-deep);
  color: #e7e5e4;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 36ch;
  color: #a8a29e;
  font-size: 1rem;
}

.cta-band .btn--primary {
  background: var(--accent);
  color: #fff;
}

.cta-band .btn--primary:hover {
  background: #d96d4e;
  color: #fff;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #d6d3d1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  opacity: 0.85;
}

/* Footer */

.site-footer {
  padding-block: 2.5rem 2rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer a {
  color: var(--ink-muted);
}

.site-footer a:hover {
  color: var(--accent);
}
