:root {
  --bg: #f9f9f9;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --pink: #e95d8f;
  --pink-light: #fce8ef;
  --green: #7cb342;
  --border: #ebebeb;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  --radius: 14px;
  --radius-lg: 20px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max-width: 1040px;
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
}

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

a {
  color: var(--pink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.accent {
  color: var(--pink);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(249, 249, 249, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.wordmark {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.wordmark:hover {
  text-decoration: none;
}

.wordmark-sweet {
  color: var(--pink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--pink);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero / About */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem clamp(1.25rem, 4vw, 2.5rem) 5rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 26rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.platforms {
  display: flex;
  gap: 2rem;
}

.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.platform-icon {
  width: 28px;
  height: 28px;
  fill: var(--text);
}

.platform--android .platform-icon {
  fill: var(--green);
}

.platform span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.platform--android span {
  color: var(--green);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone {
  width: 210px;
}

.phone-body {
  position: relative;
  background: linear-gradient(145deg, #f8f8f8 0%, #e8e8e8 100%);
  border-radius: 38px;
  padding: 11px;
  box-shadow:
    0 0 0 1px #d4d4d4,
    0 0 0 3px #f0f0f0,
    0 24px 48px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.phone-body::before {
  content: "";
  position: absolute;
  right: -3px;
  top: 100px;
  width: 3px;
  height: 48px;
  background: #ccc;
  border-radius: 0 2px 2px 0;
}

.phone-screen {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.phone-status-bar {
  height: 38px;
  flex-shrink: 0;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 12px;
}

.phone-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem 1rem;
  gap: 1.25rem;
  text-align: center;
}

.phone-app-icon {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.phone-tagline {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
  max-width: 130px;
}

.phone-home-indicator {
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 6px;
}

.phone-home-indicator::after {
  content: "";
  width: 96px;
  height: 4px;
  background: #1a1a1a;
  border-radius: 4px;
  opacity: 0.18;
}

/* Section headings */

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Apps */

.apps-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 4rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 640px;
  margin: 0 auto;
}

.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.app-card:hover {
  border-color: #ddd;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.app-card--soon {
  border-style: dashed;
  background: #fafafa;
}

.app-card--soon:hover {
  border-color: #ccc;
}

.app-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.app-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.app-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.google-play-badge {
  display: block;
  width: 162px;
  margin-top: 0.75rem;
  border-radius: 6px;
  transition: opacity 0.2s, transform 0.15s;
}

.google-play-badge:hover {
  opacity: 0.88;
  text-decoration: none;
}

.google-play-badge:focus-visible {
  outline: 3px solid var(--pink-light);
  outline-offset: 3px;
}

.google-play-badge:active {
  transform: scale(0.98);
}

.google-play-badge img {
  width: 100%;
}

.app-card-platforms {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: auto;
}

.app-card-platforms svg {
  width: 16px;
  height: 16px;
  fill: var(--text);
}

.app-card-platforms .android-icon {
  fill: var(--green);
}

/* Contact */

.contact-section {
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field > span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-light);
}

.field select {
  appearance: none;
  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='%236b6b6b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.field-checkbox input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--pink);
  flex-shrink: 0;
}

.field-checkbox span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.honeypot {
  display: none;
}

.btn {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--pink);
  border: none;
  border-radius: 100px;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: center;
  margin-top: 0.5rem;
}

.btn:hover {
  background: #d84f7f;
}

.btn:active {
  transform: scale(0.98);
}

.form-success {
  color: var(--pink);
  background: var(--pink-light);
  border: 1px solid rgba(233, 93, 143, 0.25);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  text-align: center;
}

/* Legal page */

.legal {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 4rem;
}

.legal h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal-identity {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

.legal-identity p {
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.legal-identity p:last-child {
  margin-bottom: 0;
}

.legal-identity a {
  color: var(--text-muted);
  text-decoration: none;
}

.legal-identity a:hover {
  color: var(--text);
  text-decoration: underline;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-toc a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-part {
  margin-bottom: 3.5rem;
}

.legal-part > h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  padding-top: 0.5rem;
}

.legal section {
  margin-bottom: 2rem;
}

.legal h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.legal h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal-back {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* Footer */

.site-footer {
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-heart {
  width: 22px;
  height: 22px;
  fill: var(--pink);
  margin: 0 auto 0.6rem;
}

.footer-brand {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(249, 249, 249, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
  }

  .nav a:hover {
    background: var(--surface);
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2.5rem;
    gap: 2.5rem;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .platforms {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone {
    width: 180px;
  }

  .phone-body {
    border-radius: 34px;
    padding: 9px;
  }

  .phone-screen {
    border-radius: 26px;
  }

  .phone-notch {
    width: 64px;
    height: 18px;
  }

  .phone-app-icon {
    width: 72px;
    height: 72px;
  }

  .phone-tagline {
    font-size: 0.72rem;
    max-width: 115px;
  }

  .app-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .app-card {
    padding: 1.5rem 1.25rem;
  }

  .app-card-icon {
    width: 64px;
    height: 64px;
  }

  .btn {
    width: 100%;
  }
}
