:root {
  --primary: #f4c400;
  --primary-dark: #9a7a00;
  --text: #172033;
  --muted: #6b7280;
  --surface: #ffffff;
  --background: #f2fbf8;
  --border: #d1d5db;
  --danger: #b42318;
  --danger-soft: #fff1f0;
  --success: #137333;
  --shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
}

a { color: var(--primary-dark); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(244, 196, 0, 0.35);
  outline-offset: 3px;
}

.site-header {
  background: var(--primary);
  color: #172033;
  padding: 18px 20px;
  box-shadow: 0 4px 18px rgba(244, 196, 0, 0.22);
}

.header-inner,
.page,
.footer-inner {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: #172033;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.nav a {
  color: #172033;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

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

.page { padding: 40px 0 56px; }

.hero {
  background: linear-gradient(135deg, #f4c400, #e6b800);
  color: #172033;
  border-radius: 24px;
  padding: clamp(28px, 7vw, 54px);
  box-shadow: var(--shadow);
}

.hero h1,
.card h1,
.card h2,
.card h3 { line-height: 1.25; }

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 7vw, 3.4rem);
  letter-spacing: -0.04em;
}

.hero p {
  margin: 0;
  max-width: 680px;
  font-size: 1.08rem;
  opacity: 0.95;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(22px, 5vw, 34px);
  box-shadow: var(--shadow);
}

.card + .card { margin-top: 18px; }

.grid .card + .card { margin-top: 0; }

.card h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 5vw, 2.5rem); }
.card h2 { margin: 30px 0 10px; font-size: 1.35rem; }
.card h3 { margin: 22px 0 8px; font-size: 1.08rem; }
.card p { margin: 8px 0 14px; }
.card ul, .card ol { padding-left: 22px; }
.card li { margin: 7px 0; }

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.meta {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 24px;
}

.notice {
  border-left: 5px solid var(--primary);
  background: #fff7cc;
  border-radius: 12px;
  padding: 15px 17px;
  margin: 18px 0;
}

.warning {
  border-left-color: var(--danger);
  background: var(--danger-soft);
}

.success {
  border-left-color: var(--success);
  background: #edf7ef;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 13px;
  background: var(--primary);
  color: #172033;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--primary);
}

.button:hover { background: var(--primary-dark); color: white; }

.button.secondary {
  background: white;
  color: var(--primary-dark);
  border-color: var(--border);
}

.button.danger {
  background: var(--danger);
  border-color: var(--danger);
  color: white;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  margin: 18px 0;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff7cc;
  color: var(--primary-dark);
  font-weight: 900;
}

.step h3 { margin: 2px 0 5px; }
.step p { margin: 0; }

.contact-box {
  background: #f2fbf8;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 17px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: white;
  color: var(--muted);
  padding: 24px 0;
  font-size: 0.92rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.small { font-size: 0.9rem; color: var(--muted); }

@media (max-width: 680px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .page { padding-top: 24px; }
  .hero, .card { border-radius: 18px; }
}

/* Account deletion request form */
.request-form-section {
  margin-top: 28px;
  padding: clamp(18px, 4vw, 24px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f2fbf8;
}

.request-form-section h2 {
  margin-top: 0;
}

.form-group {
  margin-top: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: white;
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(244, 196, 0, 0.18);
}

.form-group input[aria-invalid="true"],
.checkbox-row input[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-help {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.field-error {
  min-height: 1.35em;
  margin: 5px 0 0;
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 700;
}

.required {
  color: var(--danger);
}

.optional {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  cursor: pointer;
  font-weight: 700;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

button.button {
  cursor: pointer;
  font: inherit;
}

.whatsapp-button {
  background: #167c3a;
  border-color: #167c3a;
  color: white;
}

.whatsapp-button:hover {
  background: #11642f;
  border-color: #11642f;
}

@media (max-width: 520px) {
  .request-form-section .button-row {
    flex-direction: column;
  }

  .request-form-section .button {
    width: 100%;
  }
}

/* ------------------------------------------------------------------
   GramevO public homepage
   Scoped to .home-page so Privacy Policy / Delete Account pages stay
   visually and functionally unchanged.
------------------------------------------------------------------- */

.home-page {
  background:
    radial-gradient(circle at 8% 4%, rgba(244, 196, 0, 0.12), transparent 24rem),
    radial-gradient(circle at 92% 16%, rgba(26, 174, 142, 0.10), transparent 26rem),
    #ffffff;
}

.home-page .home-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.home-page .home-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

.home-hero {
  padding: 72px 0 58px;
  overflow: hidden;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(26, 174, 142, 0.28);
  border-radius: 999px;
  background: #ffffff;
  color: #172033;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
}

.home-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1aae8e;
  box-shadow: 0 0 0 5px rgba(26, 174, 142, 0.13);
}

.home-hero h1 {
  margin: 24px 0 20px;
  max-width: 690px;
  color: #172033;
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.home-hero h1 span {
  display: block;
  color: #1aae8e;
}

.home-hero-text {
  max-width: 650px;
  margin: 0;
  color: #4b5563;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

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

.home-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.home-button-primary {
  background: #1aae8e;
  color: #ffffff;
  border: 1px solid #1aae8e;
  box-shadow: 0 12px 26px rgba(26, 174, 142, 0.22);
}

.home-button-primary:hover {
  background: #168e76;
}

.home-button-secondary {
  background: #ffffff;
  color: #172033;
  border: 1px solid #d1d5db;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.06);
}

.home-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: #6b7280;
  font-size: 0.92rem;
  font-weight: 700;
}

.home-app-visual {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
}

.home-app-visual::before {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 48% 52% 57% 43% / 54% 46% 54% 46%;
  background: linear-gradient(145deg, #fff7cc, #eaf7f1);
  transform: rotate(-8deg);
}

.home-phone {
  position: relative;
  z-index: 2;
  width: min(365px, 84vw);
  padding: 24px;
  border: 8px solid #172033;
  border-radius: 38px;
  background: #ffffff;
  box-shadow: 0 34px 70px rgba(23, 32, 51, 0.20);
  transform: rotate(2deg);
}

.home-phone::before {
  content: "";
  display: block;
  width: 84px;
  height: 7px;
  margin: -7px auto 20px;
  border-radius: 999px;
  background: #172033;
}

.home-phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.home-phone-top > div {
  display: flex;
  flex-direction: column;
}

.home-phone-kicker {
  color: #6b7280;
  font-size: 0.73rem;
  font-weight: 700;
}

.home-phone-top strong {
  color: #172033;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.home-phone-language {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf7f1;
  color: #168e76;
  font-size: 0.75rem;
  font-weight: 800;
}

.home-phone-search {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 13px;
  background: #f8faf9;
  color: #9ca3af;
  font-size: 0.78rem;
}

.home-phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.home-mini-card {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.05);
}

.home-mini-card > span {
  font-size: 1.4rem;
}

.home-mini-card strong {
  color: #172033;
  font-size: 0.9rem;
}

.home-mini-card small {
  color: #6b7280;
  font-size: 0.72rem;
}

.home-phone-voice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f4c400, #ffe06a);
}

.home-mic {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  font-size: 1.2rem;
}

.home-phone-voice div {
  display: flex;
  flex-direction: column;
}

.home-phone-voice strong {
  color: #172033;
  font-size: 0.88rem;
}

.home-phone-voice small {
  color: #4b5563;
  font-size: 0.72rem;
}

.home-float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
  padding: 12px 14px;
  border: 1px solid rgba(209, 213, 219, 0.75);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(23, 32, 51, 0.12);
}

.home-float-card > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #eaf7f1;
}

.home-float-card div {
  display: flex;
  flex-direction: column;
}

.home-float-card strong {
  color: #172033;
  font-size: 0.82rem;
}

.home-float-card small {
  color: #6b7280;
  font-size: 0.7rem;
}

.home-float-card-one {
  top: 92px;
  right: -8px;
}

.home-float-card-two {
  bottom: 70px;
  left: -4px;
}

.home-capability-strip {
  border-top: 1px solid #ece8d8;
  border-bottom: 1px solid #ece8d8;
  background: #fffdf5;
}

.home-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.home-capability-grid > div {
  padding: 22px 18px;
  border-right: 1px solid #ece8d8;
}

.home-capability-grid > div:last-child {
  border-right: 0;
}

.home-capability-grid strong,
.home-capability-grid span {
  display: block;
}

.home-capability-grid strong {
  color: #172033;
  font-size: 0.95rem;
}

.home-capability-grid span {
  margin-top: 3px;
  color: #6b7280;
  font-size: 0.8rem;
}

.home-section {
  padding: 88px 0;
}

.home-section-soft {
  background: linear-gradient(135deg, #f2fbf8, #fffdf5);
}

.home-section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.home-section-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #168e76;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.home-section-heading h2,
.home-about-copy h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.home-section-heading p,
.home-about-copy > p {
  color: #6b7280;
  font-size: 1.02rem;
}

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

.home-feature-card {
  padding: 26px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.06);
}

.home-feature-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 15px;
  background: #fff7cc;
  font-size: 1.45rem;
}

.home-feature-card:nth-child(even) .home-feature-icon {
  background: #eaf7f1;
}

.home-feature-card h3 {
  margin: 18px 0 8px;
  color: #172033;
  font-size: 1.15rem;
}

.home-feature-card p {
  margin: 0;
  color: #6b7280;
  font-size: 0.94rem;
}

.home-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.home-about-copy > p {
  line-height: 1.75;
}

.home-about-panel {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(23, 32, 51, 0.08);
}

.home-about-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.home-about-item:last-child {
  border-bottom: 0;
}

.home-about-item > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: #f4c400;
  color: #172033;
  font-weight: 900;
}

.home-about-item strong {
  color: #172033;
  font-size: 1rem;
}

.home-about-item p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 0.9rem;
}

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

.home-steps article {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: #172033;
  color: #ffffff;
}

.home-steps article:nth-child(2) {
  background: #1aae8e;
}

.home-steps article:nth-child(3) {
  background: #f4c400;
  color: #172033;
}

.home-steps article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

.home-steps article:nth-child(3) > span {
  background: rgba(23, 32, 51, 0.10);
}

.home-steps h3 {
  margin: 22px 0 8px;
  font-size: 1.2rem;
}

.home-steps p {
  margin: 0;
  opacity: 0.84;
}

.home-public-section {
  background: #f7faf9;
}

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

.home-public-card {
  padding: 26px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #ffffff;
}

.home-public-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #eaf7f1;
  font-size: 1.3rem;
}

.home-public-card h3 {
  margin: 16px 0 8px;
  color: #172033;
}

.home-public-card p {
  color: #6b7280;
  font-size: 0.94rem;
}

.home-text-link {
  color: #168e76;
  font-weight: 800;
  text-decoration: none;
}

.home-text-link:hover {
  text-decoration: underline;
}

.home-text-link-danger {
  color: #b42318;
}

.home-footer .footer-inner {
  width: min(1120px, calc(100% - 40px));
}

.home-footer-brand,
.home-footer-tagline {
  display: block;
}

.home-footer-brand {
  color: #172033;
  font-size: 1.15rem;
}

.home-footer-tagline {
  margin-top: 2px;
  color: #6b7280;
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .home-hero-grid,
  .home-about-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    text-align: center;
  }

  .home-badge,
  .home-actions,
  .home-hero-notes {
    justify-content: center;
  }

  .home-hero h1,
  .home-hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .home-app-visual {
    min-height: 540px;
  }

  .home-feature-grid,
  .home-public-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-capability-grid > div:nth-child(2) {
    border-right: 0;
  }

  .home-capability-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid #ece8d8;
  }
}

@media (max-width: 680px) {
  .home-page .header-inner {
    width: min(100% - 32px, 1120px);
  }

  .home-page .home-nav {
    gap: 8px 14px;
  }

  .home-page .home-nav a {
    font-size: 0.88rem;
  }

  .home-shell {
    width: min(100% - 30px, 1120px);
  }

  .home-hero {
    padding: 48px 0 36px;
  }

  .home-hero h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .home-app-visual {
    min-height: 490px;
  }

  .home-app-visual::before {
    width: 360px;
    height: 360px;
  }

  .home-phone {
    width: min(330px, 86vw);
    padding: 20px;
  }

  .home-float-card {
    display: none;
  }

  .home-feature-grid,
  .home-public-grid,
  .home-steps,
  .home-capability-grid {
    grid-template-columns: 1fr;
  }

  .home-capability-grid > div {
    border-right: 0;
    border-bottom: 1px solid #ece8d8;
  }

  .home-capability-grid > div:last-child {
    border-bottom: 0;
  }

  .home-section {
    padding: 64px 0;
  }

  .home-about-grid {
    gap: 34px;
  }

  .home-footer .footer-inner {
    width: min(100% - 32px, 1120px);
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .home-actions {
    flex-direction: column;
  }

  .home-button {
    width: 100%;
  }

  .home-phone-grid {
    grid-template-columns: 1fr;
  }

  .home-app-visual {
    min-height: 590px;
  }
}
