/* Lively! — literary editorial system */
:root {
  --ink: #1b2845;
  --ink-soft: #2a3a5c;
  --paper: #f6f2ea;
  --paper-deep: #ebe4d6;
  --leaf: #4a9e72;
  --leaf-deep: #2f7a55;
  --coral: #d47470;
  --white: #ffffff;
  --muted: #6b7280;
  --line: rgba(27, 40, 69, 0.12);
  --shadow: 0 24px 60px rgba(27, 40, 69, 0.14);
  --radius: 22px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Grain atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--leaf-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 14px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--leaf);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(74, 158, 114, 0.32);
}

.btn-primary:hover {
  background: var(--leaf-deep);
}

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

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  background: rgba(74, 158, 114, 0.12);
  border: 1px solid rgba(74, 158, 114, 0.25);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--leaf-deep);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.meta-item span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Phone stack */
.phone-stage {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 40, 69, 0.08);
  overflow: hidden;
  width: 210px;
}

.phone img {
  width: 100%;
  height: auto;
}

.phone-a {
  transform: rotate(-8deg) translate(-48px, 20px);
  z-index: 1;
  animation: float-a 7s ease-in-out infinite;
}

.phone-b {
  transform: rotate(3deg) translate(10px, -10px);
  z-index: 3;
  width: 230px;
  animation: float-b 6s ease-in-out infinite;
}

.phone-c {
  transform: rotate(10deg) translate(70px, 36px);
  z-index: 2;
  animation: float-c 8s ease-in-out infinite;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.blob-1 {
  width: 220px;
  height: 220px;
  background: rgba(74, 158, 114, 0.35);
  top: 10%;
  right: 8%;
}

.blob-2 {
  width: 160px;
  height: 160px;
  background: rgba(212, 116, 112, 0.28);
  bottom: 12%;
  left: 6%;
}

@keyframes float-a {
  0%, 100% { transform: rotate(-8deg) translate(-48px, 20px); }
  50% { transform: rotate(-8deg) translate(-48px, 6px); }
}

@keyframes float-b {
  0%, 100% { transform: rotate(3deg) translate(10px, -10px); }
  50% { transform: rotate(3deg) translate(10px, -26px); }
}

@keyframes float-c {
  0%, 100% { transform: rotate(10deg) translate(70px, 36px); }
  50% { transform: rotate(10deg) translate(70px, 20px); }
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-head {
  max-width: 34rem;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-alt {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-alt .section-head p {
  color: rgba(255, 255, 255, 0.68);
}

.section-alt .eyebrow {
  color: #8fd6b0;
  background: rgba(74, 158, 114, 0.16);
  border-color: rgba(143, 214, 176, 0.3);
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: rgba(74, 158, 114, 0.14);
  margin-bottom: 18px;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Showcase band */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.showcase-visual {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.showcase-visual .phone {
  width: 200px;
}

.showcase-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.12;
  margin-bottom: 16px;
}

.showcase-copy p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.check-list {
  list-style: none;
  margin: 24px 0 32px;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.88);
}

.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(74, 158, 114, 0.28);
  color: #8fd6b0;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Quote */
.quote-band {
  text-align: center;
  padding: 72px 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  line-height: 1.35;
  max-width: 18ch;
  margin: 0 auto 16px;
  letter-spacing: -0.02em;
}

.quote-band cite {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* CTA */
.cta {
  text-align: center;
  padding: 96px 0;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 16px;
}

.cta p {
  color: var(--muted);
  max-width: 36ch;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer strong {
  color: var(--white);
  font-family: var(--font-display);
}

/* ========== Share pages ========== */
.share-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.share-card {
  width: min(480px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  animation: rise 0.55s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.share-card-top {
  background: var(--ink);
  color: var(--white);
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
}

.share-card-top::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(74, 158, 114, 0.35);
  filter: blur(30px);
  top: -60px;
  right: -40px;
}

.share-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
}

.share-kicker {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fd6b0;
  font-weight: 600;
  margin-bottom: 10px;
}

.share-card-top h1 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.share-card-body {
  padding: 28px;
}

.share-target {
  background: var(--paper);
  border: 1px dashed rgba(27, 40, 69, 0.2);
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 22px;
  text-align: left;
}

.share-target-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.share-target-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  word-break: break-word;
  color: var(--ink);
}

.share-target-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 4px;
}

.share-actions {
  display: grid;
  gap: 12px;
}

.share-note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.share-note a {
  color: var(--leaf-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Empty / invalid */
.share-empty .share-target-value {
  color: var(--muted);
  font-style: italic;
  font-weight: 500;
}

/* Reveal on scroll (marketing) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========== Privacy / legal ========== */
.legal-hero {
  position: relative;
  z-index: 1;
  padding: 36px 0 72px;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(74, 158, 114, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(212, 116, 112, 0.1), transparent 55%);
  border-bottom: 1px solid var(--line);
}

.legal-hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 40px;
  align-items: start;
}

.legal-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.legal-hero-copy h1 em {
  font-style: italic;
  color: var(--leaf-deep);
}

.legal-hero-copy .hero-lead {
  max-width: 40ch;
  margin-bottom: 24px;
}

.legal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(74, 158, 114, 0.12);
  border: 1px solid rgba(74, 158, 114, 0.28);
  color: var(--leaf-deep);
}

.legal-pill.soft {
  background: rgba(27, 40, 69, 0.06);
  border-color: var(--line);
  color: var(--ink-soft);
}

.legal-toc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 16px 40px rgba(27, 40, 69, 0.08);
  position: sticky;
  top: 20px;
  animation: rise 0.55s ease both;
}

.legal-toc-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  margin-bottom: 14px;
}

.legal-toc {
  list-style: none;
  counter-reset: toc;
  display: grid;
  gap: 6px;
}

.legal-toc li {
  counter-increment: toc;
}

.legal-toc a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 8px;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--muted);
  min-width: 1.4em;
}

.legal-toc a:hover {
  background: rgba(74, 158, 114, 0.1);
  color: var(--leaf-deep);
}

.legal-toc a:hover::before {
  color: var(--leaf-deep);
}

.legal-section {
  padding-top: 64px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 48px;
  align-items: start;
}

.legal-prose {
  min-width: 0;
}

.legal-block {
  position: relative;
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.legal-block:last-of-type {
  border-bottom: none;
}

.legal-num {
  position: absolute;
  left: 0;
  top: 36px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--leaf-deep);
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.legal-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  padding-left: 2.6rem;
}

.legal-block p,
.legal-block > .legal-list {
  padding-left: 2.6rem;
}

.legal-block p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 14px;
  max-width: 62ch;
}

.legal-block p strong {
  color: var(--ink);
  font-weight: 600;
}

.inline-link {
  color: var(--leaf-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover {
  color: var(--ink);
}

.legal-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 8px 0 18px;
}

.legal-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
}

.legal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0 20px;
  padding-left: 2.6rem;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.legal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.legal-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(74, 158, 114, 0.14);
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.legal-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.legal-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.legal-card li {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
  padding-left: 0.85rem;
  position: relative;
}

.legal-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--leaf);
  font-weight: 700;
}

.legal-callout {
  margin: 8px 0 0 2.6rem;
  padding: 16px 18px;
  background: rgba(212, 116, 112, 0.08);
  border: 1px solid rgba(212, 116, 112, 0.28);
  border-radius: 14px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 62ch;
}

.legal-callout strong {
  color: var(--ink);
}

.legal-partners {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding-left: 2.6rem;
}

.partner {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--leaf);
  border-radius: 14px;
  padding: 16px 18px;
}

.partner h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.partner p {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  font-size: 0.9rem !important;
  color: var(--muted) !important;
}

.legal-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 16px;
  padding-left: 2.6rem;
}

.choice {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
}

.choice h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--leaf-deep);
}

.choice p {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  font-size: 0.88rem !important;
  color: var(--muted) !important;
}

.legal-note {
  font-size: 0.9rem !important;
  color: var(--muted) !important;
  font-style: italic;
}

.legal-contact-card {
  margin: 12px 0 0 2.6rem;
  padding: 28px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  max-width: 40rem;
  position: relative;
  overflow: hidden;
}

.legal-contact-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(74, 158, 114, 0.35);
  filter: blur(36px);
  top: -50px;
  right: -30px;
  pointer-events: none;
}

.legal-contact-kicker {
  font-size: 0.75rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fd6b0 !important;
  font-weight: 600;
  margin-bottom: 8px !important;
}

.legal-contact-name {
  font-family: var(--font-display);
  font-size: 1.45rem !important;
  color: var(--white) !important;
  margin-bottom: 12px !important;
  position: relative;
  z-index: 1;
}

.legal-contact-card p {
  color: rgba(255, 255, 255, 0.72) !important;
  max-width: none !important;
  position: relative;
  z-index: 1;
}

.legal-contact-card .inline-link {
  color: #8fd6b0;
}

.legal-contact-meta {
  font-size: 0.85rem !important;
  opacity: 0.7;
}

.legal-contact-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
}

.legal-end {
  padding: 40px 0 20px;
  padding-left: 2.6rem;
}

.legal-end > p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 20px;
  padding-left: 0;
}

.legal-aside {
  position: relative;
}

.legal-aside-sticky {
  position: sticky;
  top: 28px;
  padding: 24px 0;
}

.legal-aside-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.legal-aside-badge img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.legal-aside-badge span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.legal-aside-sticky blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink-soft);
  border-left: 3px solid var(--leaf);
  padding-left: 14px;
  margin-bottom: 12px;
}

.legal-aside-sticky p {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 17px;
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

/* ========== Delete-data form ========== */
.dd-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 16px 40px rgba(27, 40, 69, 0.08);
  max-width: 40rem;
}

.dd-form h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
}

.dd-form > .dd-lead {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 24px;
  max-width: 52ch;
}

.dd-field {
  margin-bottom: 18px;
}

.dd-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.dd-input,
.dd-select,
.dd-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.dd-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231b2845' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.dd-input:focus,
.dd-select:focus,
.dd-textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(74, 158, 114, 0.18);
  background: var(--white);
}

.dd-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

.dd-counter {
  display: block;
  text-align: right;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
}

.dd-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 6px 0 20px;
  cursor: pointer;
}

.dd-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--leaf);
  flex-shrink: 0;
  cursor: pointer;
}

.dd-check span {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.dd-error {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: rgba(212, 116, 112, 0.1);
  border: 1px solid rgba(212, 116, 112, 0.35);
  border-radius: 12px;
  font-size: 0.9rem;
  color: #9b3d3a;
  line-height: 1.45;
}

.dd-error.show {
  display: block;
}

.dd-success {
  display: none;
  text-align: center;
  padding: 20px 8px 8px;
}

.dd-success.show {
  display: block;
}

.dd-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(74, 158, 114, 0.14);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--leaf-deep);
  font-weight: 700;
}

.dd-success h2 {
  margin-bottom: 10px;
}

.dd-success p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 22px;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.dd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dd-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}

.dd-note a {
  color: var(--leaf-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dd-form.is-hidden {
  display: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.footer-links a:hover {
  color: #8fd6b0;
}

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

  .legal-toc-card {
    position: static;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    display: none;
  }

  .legal-cards,
  .legal-choices {
    grid-template-columns: 1fr;
  }

  .legal-block h2,
  .legal-block p,
  .legal-block > .legal-list,
  .legal-cards,
  .legal-callout,
  .legal-partners,
  .legal-choices,
  .legal-contact-card,
  .legal-end {
    padding-left: 0;
  }

  .legal-num {
    position: static;
    display: block;
    margin-bottom: 8px;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .phone-stage {
    min-height: 420px;
    order: -1;
  }

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

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

  .nav-links {
    display: none;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .phone-a,
  .phone-c {
    display: none;
  }

  .phone-b {
    transform: none;
    animation: none;
    width: 240px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
