:root {
  --ink: #062a27;
  --teal: #0f766e;
  --teal-bright: #14b8a6;
  --mint: #e8f5f2;
  --mint-deep: #c5e8e0;
  --fog: #f4faf8;
  --stone: #5a7a76;
  --amber: #d97706;
  --white: #ffffff;
  --line: rgba(15, 118, 110, 0.14);
  --shadow-soft: 0 24px 60px rgba(6, 42, 39, 0.12);
  --radius: 1.25rem;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(20, 184, 166, 0.22), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(15, 118, 110, 0.12), transparent 50%),
    linear-gradient(180deg, #f7fcfb 0%, var(--fog) 40%, #eef7f4 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

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

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 250, 248, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 250, 248, 0.94);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand__logo {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  background: linear-gradient(145deg, var(--teal), var(--teal-bright));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.nav__links {
  display: none;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--stone);
}

.nav__links a:hover {
  color: var(--teal);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: 0.85rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav__cta:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

/* Hero — one composition */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3.5rem;
  min-height: min(100svh, 920px);
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  background: linear-gradient(120deg, var(--ink) 20%, var(--teal) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  max-width: 18ch;
  color: var(--ink);
}

.hero__lede {
  margin: 0 0 1.75rem;
  color: var(--stone);
  font-size: 1.05rem;
  max-width: 34ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.15rem;
  padding: 0 1.35rem;
  border-radius: 0.95rem;
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--teal), #0d9488);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.28);
}

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

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn--ghost:hover {
  background: var(--white);
}

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 320px);
}

.hero__phone {
  position: relative;
  z-index: 1;
  filter: drop-shadow(var(--shadow-soft));
  animation: floatPhone 6s ease-in-out infinite;
}

.hero__glow {
  position: absolute;
  inset: 8% -8% -8% -8%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35), transparent 65%);
  z-index: 0;
  animation: pulseGlow 5s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero__copy {
  animation: riseIn 0.8s ease both;
}

.hero__visual {
  animation: riseIn 1s ease 0.15s both;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(232, 245, 242, 0.65));
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.section__lede {
  margin: 0;
  color: var(--stone);
  font-size: 1.05rem;
}

/* Feature strips — not card grids in hero; interaction-free feature rows */
.feature {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 2rem 0;
}

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

.feature__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, var(--mint), var(--white));
  border: 1.5px solid var(--line);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.feature__icon svg {
  width: 2.15rem;
  height: 2.15rem;
}

.feature__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}

.feature__text {
  margin: 0;
  color: var(--stone);
  font-size: 1.02rem;
  max-width: 38ch;
}

.feature__media {
  border-radius: calc(var(--radius) + 0.35rem);
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.feature__media img,
.feature__media svg {
  width: 100%;
}

/* Icon grid — large tap-friendly icons for mobile */
.uses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.use {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid var(--line);
  min-height: 5.5rem;
}

.use__icon {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 1.15rem;
  background: var(--mint);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.use__icon svg {
  width: 2.35rem;
  height: 2.35rem;
}

.use__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.2rem;
  letter-spacing: -0.015em;
}

.use__text {
  margin: 0;
  color: var(--stone);
  font-size: 0.95rem;
}

.use__icon--shield {
  background: linear-gradient(145deg, #0f766e, #134e4a);
  color: var(--white);
}

.security-grid {
  margin-top: 1.75rem;
}

.security-flow {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.security-flow__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--line);
}

.security-flow__num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  background: var(--teal);
  color: var(--white);
  flex-shrink: 0;
}

.security-flow__step p {
  margin: 0;
  color: var(--stone);
}

.security-note {
  margin: 2rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.25);
  color: var(--ink);
  font-size: 0.95rem;
}

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

/* Pricing */
.price {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 0.4rem);
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.95), rgba(13, 148, 136, 0.92)),
    var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.price__amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
}

.price__amount span {
  font-size: 0.42em;
  font-weight: 600;
  opacity: 0.85;
}

.price__note {
  margin: 0.5rem 0 0;
  opacity: 0.9;
  max-width: 28ch;
}

.price__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.price__list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 1rem;
}

.price__list li::before {
  content: "";
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ecfdf8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

/* Languages */
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.lang {
  min-height: 3rem;
  padding: 0.65rem 1.1rem;
  border-radius: 0.9rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
}

/* CTA band */
.cta {
  padding: 4rem 0 5rem;
}

.cta__panel {
  text-align: center;
  padding: 2.75rem 1.5rem;
  border-radius: calc(var(--radius) + 0.5rem);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(20, 184, 166, 0.2), transparent),
    var(--white);
  border: 1.5px solid var(--line);
}

.cta__panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}

.cta__panel p {
  margin: 0 auto 1.5rem;
  color: var(--stone);
  max-width: 34ch;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Footer */
.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--stone);
  font-size: 0.92rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

/* Desktop */
@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .feature {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }

  .feature--flip .feature__copy {
    order: 2;
  }

  .feature--flip .feature__media {
    order: 1;
  }

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

  .price {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    padding: 2.5rem 2.75rem;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .uses {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__phone,
  .hero__glow,
  .hero__copy,
  .hero__visual,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Legal / policy pages */
.legal {
  padding: 6.5rem 0 3rem;
  max-width: 44rem;
}

.legal__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.legal__meta {
  color: var(--stone);
  font-size: 0.95rem;
  margin: 0 0 2rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.75rem 0 0.6rem;
}

.legal p,
.legal li {
  color: var(--ink);
  font-size: 1rem;
}

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

.legal a {
  color: var(--teal);
}

.footer__legal {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  font-size: 0.9rem;
}

.footer__legal a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.footer__legal a:hover {
  text-decoration: underline;
}

/* Delete account form */
.delete-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-soft);
  margin: 1.5rem 0 2rem;
}

.delete-card__warn {
  margin: 0 0 1.1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.95rem;
  font-weight: 600;
}

.delete-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.delete-form input {
  font: inherit;
  font-weight: 500;
  padding: 0.7rem 0.85rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: var(--fog);
}

.delete-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn--danger {
  background: #b91c1c;
  color: #fff;
  border: none;
}

.btn--danger:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
}

.form-status[data-kind="ok"] {
  color: #047857;
  font-weight: 600;
}

.form-status[data-kind="error"] {
  color: #b91c1c;
  font-weight: 600;
}
