@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Nunito:wght@700;800;900&display=swap");

:root {
  --bg: #fafaf7;
  --surface: #fffdf9;
  --surface-plain: #ffffff;
  --surface-muted: #f8fbff;
  --surface-hero: #f6fbfa;
  --text: #24364a;
  --muted: #4a6278;
  --tertiary: #6f8193;
  --primary: #2b7a78;
  --primary-dark: #173f3f;
  --primary-text: #245e5d;
  --primary-light: #dceffc;
  --mint: #a8ddd0;
  --mint-light: #e7f7f3;
  --peach: #f6b18d;
  --peach-light: #ffe9df;
  --secondary: #c86b4a;
  --gold: #a26e16;
  --gold-light: #fcefcb;
  --success: #2e7d5a;
  --success-light: #e9f8f1;
  --warning: #8a6417;
  --warning-light: #fcf3df;
  --danger: #a64e44;
  --danger-light: #fce7e3;
  --info: #2f6da8;
  --info-light: #eaf2fb;
  --border: #e1eaf3;
  --border-strong: #c7d6e5;
  --shadow: 0 22px 60px rgba(111, 143, 176, 0.16);
  --shadow-soft: 0 14px 34px rgba(111, 143, 176, 0.12);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(168, 221, 208, 0.36), transparent 28rem),
    radial-gradient(circle at 84% 3%, rgba(246, 177, 141, 0.22), transparent 24rem),
    linear-gradient(180deg, #fbfbf8 0%, var(--bg) 42%, #f6fbfa 100%);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--primary);
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(900px, calc(100% - 40px));
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  padding: 24px 0;
}

.site-footer {
  margin-top: 72px;
  padding: 30px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 15px;
  background: url("/assets/pawlens-logo.svg") center / cover no-repeat;
  box-shadow: 0 12px 24px rgba(43, 122, 120, 0.24);
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  padding: 56px 0 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 13px;
  border: 1px solid rgba(43, 122, 120, 0.18);
  border-radius: 999px;
  background: rgba(220, 239, 252, 0.72);
  color: var(--primary-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.display {
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  color: var(--text);
  line-height: 1.04;
}

h1 {
  margin: 0 0 18px;
  max-width: 780px;
  font-size: clamp(44px, 8.3vw, 84px);
  font-weight: 900;
  letter-spacing: -0.065em;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.045em;
}

h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.58;
}

.section-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 18px 10px 14px;
  border-radius: 18px;
  background: var(--text);
  color: #fffdf9;
  box-shadow: 0 16px 30px rgba(36, 54, 74, 0.18);
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  font-weight: 900;
  line-height: 1.05;
  text-decoration: none;
}

.store-button.google {
  background: var(--primary-dark);
}

.store-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
}

.store-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.store-label {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 253, 249, 0.78);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fffdf9;
  box-shadow: 0 14px 28px rgba(43, 122, 120, 0.22);
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.button.secondary {
  background: var(--secondary);
  color: #fff8f5;
  box-shadow: 0 14px 28px rgba(200, 107, 74, 0.18);
}

.button.ghost {
  background: rgba(255, 253, 249, 0.76);
  color: var(--primary-text);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.78);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.app-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 660px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.42), transparent 16rem),
    linear-gradient(145deg, #2b7a78 0%, #245e5d 48%, #173f3f 100%);
  box-shadow: 0 30px 78px rgba(36, 54, 74, 0.22);
  overflow: hidden;
}

.app-preview::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
}

.phone-frame {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 9 / 19.5;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 42px;
  background: rgba(255, 253, 249, 0.18);
  box-shadow: 0 24px 54px rgba(15, 37, 37, 0.28);
  z-index: 1;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 34px;
  background: var(--surface);
}

.preview-note {
  position: absolute;
  left: clamp(18px, 5vw, 42px);
  right: clamp(18px, 5vw, 42px);
  bottom: clamp(18px, 4vw, 34px);
  z-index: 2;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.9);
  color: var(--primary-text);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: 76px 0;
}

.section-header {
  max-width: 780px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.legal-card,
.callout,
.faq-item,
.step-card {
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.card,
.step-card,
.faq-item {
  border-radius: 26px;
  padding: 24px;
}

.card p,
.step-card p,
.faq-item p {
  color: var(--muted);
}

.icon-bubble,
.step-number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: var(--primary-light);
  color: var(--primary-text);
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.step-number {
  background: var(--peach-light);
  color: var(--secondary);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.callout {
  border-radius: var(--radius-lg);
  padding: clamp(26px, 5vw, 42px);
}

.callout.teal {
  background:
    radial-gradient(circle at 84% 8%, rgba(168, 221, 208, 0.24), transparent 16rem),
    linear-gradient(145deg, #245e5d 0%, #173f3f 100%);
  border: 0;
  color: #fffdf9;
}

.callout.teal h2,
.callout.teal h3,
.callout.teal p,
.callout.teal li {
  color: #fffdf9;
}

.callout.teal p,
.callout.teal li {
  opacity: 0.86;
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: var(--mint);
  box-shadow: inset 0 0 0 4px var(--mint-light);
}

.plain-list li::before {
  background: var(--peach);
  box-shadow: inset 0 0 0 4px var(--peach-light);
}

.disclaimer {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(138, 100, 23, 0.18);
  border-radius: 22px;
  background: var(--warning-light);
  color: var(--warning);
  font-weight: 600;
}

.page-hero {
  padding: 42px 0 28px;
}

.page-hero h1 {
  font-size: clamp(42px, 7vw, 68px);
}

.legal-card {
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 46px);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.025em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card ul,
.legal-card ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
}

.legal-card li {
  margin-bottom: 9px;
}

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

.small {
  color: var(--tertiary);
  font-size: 13px;
}

.status-box {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--mint-light);
}

.status-box.warning {
  background: var(--warning-light);
  color: var(--warning);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 16px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: min(560px, 100%);
  padding: clamp(24px, 6vw, 42px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  font-size: clamp(34px, 7vw, 54px);
}

.hidden {
  display: none !important;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.brand-spacer {
  height: 28px;
}

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

  .hero {
    padding-top: 30px;
  }

  .app-preview {
    min-height: 640px;
  }

  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .shell,
  .narrow {
    width: min(100% - 28px, 1160px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .footer-links {
    justify-content: flex-start;
  }

  .section {
    padding: 52px 0;
  }

  .app-preview {
    min-height: 600px;
    border-radius: 34px;
  }
}
