:root {
  --bg: #f7f4ea;
  --bg-2: #fffaf0;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --text: #243126;
  --muted: #667464;
  --primary: #2f7d52;
  --primary-strong: #215f3d;
  --primary-soft: #e6f3ea;
  --primary-softer: #f1f8f3;
  --accent: #f4b75f;
  --accent-soft: #fff4df;
  --danger: #b6473e;
  --danger-strong: #94372f;
  --danger-soft: #fae9e7;
  --info-soft: #eef6ff;
  --border: #ded8cc;
  --border-soft: rgba(222, 216, 204, 0.68);
  --shadow: 0 18px 45px rgba(41, 48, 38, 0.10);
  --shadow-soft: 0 14px 32px rgba(41, 48, 38, 0.075);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(244, 183, 95, 0.24), transparent 30rem),
    radial-gradient(circle at 100% 5%, rgba(47, 125, 82, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--bg), #f8f5ed 48%, #f6f1e6);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a:hover {
  text-decoration: underline;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 234, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(222, 216, 204, 0.76);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

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

.logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #76b98a);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 11px 25px rgba(47, 125, 82, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.08rem;
}

.brand-subtitle {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--text);
  font-weight: 750;
  padding: 10px 11px;
  border-radius: 999px;
  font-size: 0.96rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-links a.is-active {
  background: var(--primary-soft);
  color: var(--primary-strong);
  text-decoration: none;
}

.nav-links .nav-pill-download {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(47, 125, 82, 0.18);
}

.nav-links .nav-pill-download:hover,
.nav-links .nav-pill-download[aria-current="page"] {
  background: var(--primary-strong);
  color: #fff;
}

.nav-links .nav-pill-danger {
  color: var(--danger-strong);
}

.nav-links .nav-pill-danger:hover,
.nav-links .nav-pill-danger[aria-current="page"] {
  background: var(--danger-soft);
  color: var(--danger-strong);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 850;
}

.hero {
  padding: 86px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 850;
  font-size: 0.88rem;
}

h1,
h2,
h3 {
  line-height: 1.11;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.65rem, 6.2vw, 5.45rem);
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 3.05rem);
}

h3 {
  font-size: 1.24rem;
}

p {
  margin: 0 0 14px;
}

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--muted);
  max-width: 64ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(47, 125, 82, 0.22);
}

.btn-primary:hover {
  background: var(--primary-strong);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-strong);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: rgba(47, 125, 82, 0.35);
}

.btn-tertiary {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  box-shadow: none;
}

.btn-tertiary:hover {
  color: var(--primary-strong);
  background: rgba(47, 125, 82, 0.07);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 14px 28px rgba(182, 71, 62, 0.14);
}

.btn-danger:hover {
  color: #fff;
  background: var(--danger-strong);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-badges span,
.plan-topline,
.mock-label,
.popular-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 850;
}

.hero-badges span {
  padding: 7px 11px;
  background: rgba(255, 253, 248, 0.76);
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 535px;
}

.app-phone {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  margin-left: auto;
  padding: 22px;
  border: 1px solid rgba(222, 216, 204, 0.92);
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.95), rgba(255, 250, 240, 0.92));
  box-shadow: 0 28px 70px rgba(41, 48, 38, 0.16);
}

.app-phone::before {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(36, 49, 38, 0.12);
}

.mock-toolbar,
.mock-row,
.priority-card {
  position: relative;
  background: var(--surface-strong);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
}

.mock-toolbar {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.mock-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 17px 0 0 var(--primary), 34px 0 0 #d5d9cf;
}

.priority-card {
  padding: 22px;
  overflow: hidden;
}

.priority-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(244, 183, 95, 0.18);
}

.priority-card strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.12;
  margin-bottom: 10px;
}

.mock-label {
  padding: 6px 10px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  margin-bottom: 12px;
}

.mock-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.mock-row {
  padding: 14px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
}

.mock-row strong {
  color: var(--primary-strong);
}

.mock-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
}

.floating-card {
  position: absolute;
  z-index: 2;
  width: 190px;
  padding: 16px;
  border: 1px solid rgba(222, 216, 204, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.floating-card span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--accent-soft);
  margin-bottom: 10px;
}

.floating-card strong {
  display: block;
  line-height: 1.15;
}

.floating-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.floating-card-top {
  top: 62px;
  left: 0;
}

.floating-card-bottom {
  right: 0;
  bottom: 34px;
}

.section {
  padding: 62px 0;
}

.section-tight {
  padding-top: 20px;
}

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

.section-header.centered,
.final-cta {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header.centered .lead,
.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.alt-section {
  background: rgba(255, 253, 248, 0.48);
  border-block: 1px solid rgba(222, 216, 204, 0.58);
}

.intro-strip {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 32px;
  align-items: center;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(222, 216, 204, 0.85);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 42px);
}

.intro-strip p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.card,
.content-card,
.plan-card,
.step-card,
.privacy-card,
.mini-card,
.feature-large {
  border: 1px solid rgba(222, 216, 204, 0.88);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow-soft);
}

.card,
.content-card,
.plan-card,
.step-card,
.privacy-card,
.mini-card,
.feature-large {
  border-radius: var(--radius-lg);
}

.card,
.plan-card,
.step-card,
.privacy-card,
.mini-card,
.feature-large {
  padding: 24px;
}

.card p:last-child,
.content-card p:last-child,
.plan-card p:last-child,
.step-card p:last-child,
.privacy-card p:last-child,
.mini-card p:last-child,
.feature-large p:last-child {
  margin-bottom: 0;
}

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

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

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.feature-large {
  padding: clamp(26px, 5vw, 44px);
  background:
    radial-gradient(circle at 90% 0%, rgba(244, 183, 95, 0.18), transparent 15rem),
    linear-gradient(160deg, #fffdf8, #f3f9f2);
}

.card-accent h3 {
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.mini-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}

.mini-card h3 {
  margin-bottom: 8px;
}

.mini-icon,
.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
}

.icon-badge {
  margin-bottom: 18px;
}

.feature-grid-extra {
  margin-top: 18px;
}

.feature-card {
  min-height: 240px;
}

.steps-grid,
.plans-grid,
.privacy-cards {
  display: grid;
  gap: 18px;
}

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

.plans-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step-card {
  position: relative;
  padding-top: 70px;
}

.step-number {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.plan-card {
  position: relative;
  background: var(--surface-strong);
}

.plan-highlight {
  border-color: rgba(47, 125, 82, 0.36);
  box-shadow: 0 26px 64px rgba(47, 125, 82, 0.16);
  transform: translateY(-10px);
}

.popular-label {
  position: absolute;
  top: -14px;
  right: 24px;
  padding: 7px 11px;
  background: var(--accent);
  border-color: rgba(177, 119, 28, 0.25);
  color: #49330f;
}

.plan-topline {
  padding: 6px 10px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  padding-left: 0 !important;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 900;
  font-size: 0.78rem;
}

.compact-list {
  margin-top: 18px;
}

.legal-note {
  margin-top: 18px;
  text-align: center;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 30px;
  align-items: start;
}

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

.privacy-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--primary-soft);
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.privacy-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.content-card {
  background: var(--surface-strong);
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow);
}

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

.soft-card {
  background: linear-gradient(160deg, var(--surface-strong), #fff8e8);
}

.deletion-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(182, 71, 62, 0.08), transparent 14rem),
    var(--surface-strong);
}

.final-cta {
  max-width: 760px;
}

.centered-actions {
  justify-content: center;
}

.contact-mail {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
}

.page-hero {
  padding: 70px 0 34px;
}

.page-hero .container {
  max-width: 920px;
}

.legal-layout {
  max-width: 940px;
}

.notice {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--accent-soft);
  padding: 18px;
  margin: 18px 0;
}

.notice-danger {
  background: var(--danger-soft);
  border-color: rgba(182, 71, 62, 0.30);
}

.notice-info {
  background: var(--info-soft);
  border-color: rgba(47, 103, 178, 0.24);
}

.notice-warning {
  background: #fff9ee;
  border-color: rgba(244, 183, 95, 0.45);
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  background: #fff;
  color: var(--text);
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

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

.status-message {
  display: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-weight: 750;
}

.status-message.show {
  display: block;
}

.status-message.error {
  background: var(--danger-soft);
  color: var(--danger-strong);
}

.status-message.success {
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.kv-list {
  display: grid;
  gap: 12px;
}

.kv-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.kv-item strong {
  color: var(--text);
}

.steps-list {
  list-style: none;
  counter-reset: steps;
  padding-left: 0 !important;
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.steps-list li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.steps-list li::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.hidden {
  display: none !important;
}

.account-delete-card {
  position: relative;
}

.auth-panel {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  background: rgba(247, 244, 234, 0.56);
}

.compact-form {
  gap: 14px;
}

.full-width {
  width: 100%;
}

.separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-weight: 850;
  font-size: 0.86rem;
}

.separator::before,
.separator::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border);
}

.account-summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  padding: 18px;
  margin-bottom: 18px;
}

.small-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.monospace {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  word-break: break-all;
}

.loading-box {
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--muted);
  background: var(--surface-strong);
  font-weight: 750;
}

.household-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.household-item {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(222, 216, 204, 0.85);
  background: rgba(255, 253, 248, 0.82);
}

.household-item span {
  color: var(--muted);
  font-size: 0.88rem;
  word-break: break-all;
}

button:disabled,
.btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.site-footer {
  padding: 54px 0 26px;
  border-top: 1px solid var(--border);
  background: rgba(247, 244, 237, 0.78);
  color: var(--muted);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.65fr) repeat(3, minmax(140px, 0.7fr));
  gap: 42px;
  align-items: start;
}

.footer-brand-block {
  max-width: 440px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.footer-brand-link:hover {
  color: var(--primary-strong);
  text-decoration: none;
}

.footer-brand-link strong,
.footer-brand-link small {
  display: block;
}

.footer-brand-link strong {
  font-size: 1.05rem;
}

.footer-brand-link small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.footer-logo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.footer-brand-block p {
  max-width: 48ch;
  margin: 18px 0 12px;
}

.footer-email {
  display: inline-flex;
  font-weight: 800;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-heading {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.95rem;
}

.footer-column a {
  color: var(--muted);
  font-weight: 700;
}

.footer-column a:hover {
  color: var(--primary-strong);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
}


@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 78px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }
}

@media (max-width: 1160px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-layout,
  .privacy-layout,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .app-phone {
    margin: 0 auto;
  }

  .floating-card {
    position: relative;
    inset: auto;
    width: auto;
    margin-top: 14px;
  }

  .floating-card-top,
  .floating-card-bottom {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .steps-grid,
  .plans-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .plan-highlight {
    transform: none;
  }

  .privacy-actions {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .hero {
    padding-top: 48px;
  }

  h1 {
    max-width: 12ch;
  }

  .intro-strip,
  .privacy-cards {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1.35fr 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .kv-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    padding-bottom: 42px;
  }

  .section {
    padding: 46px 0;
  }

  .hero-actions,
  .actions,
  .privacy-actions,
  .centered-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .brand-subtitle {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }

  .footer-brand-block,
  .footer-column:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 34px;
  }

  .app-phone {
    border-radius: 28px;
    padding: 16px;
  }

  .mock-row {
    grid-template-columns: 38px 1fr;
  }

  .mock-row strong {
    grid-column: 2;
  }

  .mini-card {
    grid-template-columns: 1fr;
  }

  .account-summary {
    flex-direction: column;
  }
}

/* Contact page */
.contact-page-hero h1 {
  max-width: 14ch;
}

.contact-main-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(47, 125, 82, 0.24);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 183, 95, 0.18), transparent 16rem),
    linear-gradient(145deg, #fffdf8, #f1f8f3);
  box-shadow: var(--shadow);
}

.contact-main-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  margin-bottom: 10px;
}

.contact-main-card p:not(.contact-card-label) {
  color: var(--muted);
  max-width: 64ch;
}

.contact-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 1.35rem;
  font-weight: 900;
}

.contact-card-label {
  margin: 0 0 8px;
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-card-email,
.contact-card-link {
  display: inline-block;
  margin: 8px 0 18px;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(22px, 3.4vw, 32px);
  border: 1px solid rgba(222, 216, 204, 0.88);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  margin-top: 16px;
  margin-bottom: 10px;
  font-size: 1.38rem;
}

.contact-card p:not(.contact-card-label) {
  color: var(--muted);
}

.contact-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.contact-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.contact-card-actions .btn {
  margin-top: 0;
}

.contact-card-muted {
  background: linear-gradient(155deg, #fffdf8, #fff7f5);
}

.contact-card-muted .contact-card-icon {
  background: var(--danger-soft);
  color: var(--danger-strong);
}

.contact-card-muted .contact-card-label,
.contact-card-muted .contact-card-link {
  color: var(--danger-strong);
}

.contact-help-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(222, 216, 204, 0.88);
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow-soft);
}

.contact-help-panel h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.contact-security-note {
  margin: 0;
}

@media (max-width: 860px) {
  .contact-main-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .contact-main-card > .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .contact-grid,
  .contact-help-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contact-main-card {
    grid-template-columns: 1fr;
  }

  .contact-main-card > .btn {
    justify-self: stretch;
  }

  .contact-card .btn {
    align-self: stretch;
  }

  .contact-card-actions {
    flex-direction: column;
  }
}



/* Download page */
.download-hero {
  padding: 76px 0 64px;
}

.download-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 54px;
  align-items: center;
}

.download-hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.65rem, 5.9vw, 5rem);
}

.download-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 9px 13px;
  border: 1px solid rgba(47, 125, 82, 0.24);
  border-radius: 999px;
  background: var(--primary-softer);
  color: var(--primary-strong);
  font-weight: 850;
}

.download-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(47, 125, 82, 0.12);
}

.store-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 8px 18px;
  border-radius: 16px;
  background: #202622;
  color: #fff;
  box-shadow: 0 14px 28px rgba(36, 49, 38, 0.18);
  cursor: default;
}

.store-placeholder-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.store-placeholder span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.store-placeholder small {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.store-placeholder strong {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.download-preview {
  position: relative;
}

.download-preview::before {
  content: "";
  position: absolute;
  inset: 12% -8% 10% 12%;
  border-radius: 44px;
  background:
    radial-gradient(circle at 82% 18%, rgba(244, 183, 95, 0.32), transparent 12rem),
    linear-gradient(145deg, rgba(230, 243, 234, 0.92), rgba(255, 250, 240, 0.86));
  transform: rotate(3deg);
}

.download-phone {
  position: relative;
  width: min(100%, 430px);
  margin-left: auto;
  padding: 24px;
  border: 1px solid rgba(222, 216, 204, 0.92);
  border-radius: 34px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 28px 70px rgba(41, 48, 38, 0.16);
}

.download-phone-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}

.download-phone-top p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.download-preview-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  align-items: start;
  padding: 15px;
  margin-top: 11px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: #fff;
}

.download-preview-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--primary-soft);
  font-size: 1.18rem;
}

.download-preview-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.download-meta span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 800;
}

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

.download-benefit-card {
  min-height: 100%;
}

.download-benefit-card p {
  color: var(--muted);
}

.download-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 38px;
  align-items: start;
}

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

.download-info-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow-soft);
}

.download-info-item > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--accent-soft);
  font-size: 1.2rem;
}

.download-info-item h3 {
  margin-bottom: 7px;
}

.download-info-item p {
  margin: 0;
  color: var(--muted);
}

.download-launch-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(47, 125, 82, 0.22);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 183, 95, 0.2), transparent 16rem),
    linear-gradient(145deg, #fffdf8, #eef7f1);
  box-shadow: var(--shadow);
}

.download-launch-card p:not(.eyebrow) {
  max-width: 70ch;
  color: var(--muted);
}

.download-launch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 360px;
}

@media (max-width: 1020px) {
  .download-hero-grid,
  .download-info-layout,
  .download-launch-card {
    grid-template-columns: 1fr;
  }

  .download-phone {
    margin: 0 auto;
  }

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

  .download-launch-actions {
    justify-content: flex-start;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .download-hero {
    padding: 50px 0 44px;
  }

  .download-hero-copy h1 {
    max-width: 11ch;
  }

  .download-benefits {
    grid-template-columns: 1fr;
  }

  .download-phone {
    padding: 17px;
    border-radius: 28px;
  }

  .store-placeholder {
    width: 100%;
    justify-content: center;
  }

  .download-info-item {
    grid-template-columns: 1fr;
  }

  .download-launch-actions {
    flex-direction: column;
  }
}

/* Home page download teaser */
.home-download-section {
  padding-top: 34px;
}

.home-download-card {
  overflow: hidden;
}

.home-download-card h2 {
  max-width: 18ch;
}

.home-store-placeholder {
  min-width: 188px;
  justify-content: flex-start;
}

@media (max-width: 1020px) {
  .home-download-card h2 {
    max-width: none;
  }
}


@media (max-width: 420px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand-block,
  .footer-column:last-child {
    grid-column: auto;
  }
}


/* Dostępność i link do sklepu — wersja release-ready */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--primary-strong);
  font-weight: 850;
  box-shadow: var(--shadow-soft);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.store-link {
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(36, 49, 38, 0.16);
}

.footer-bottom a {
  font-weight: 800;
}


/* Wersja przejściowa strony — Google Play / obsługa konta i danych */
.transition-hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(70px, 10vw, 130px) 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(47, 125, 82, 0.13), transparent 30rem),
    radial-gradient(circle at 90% 10%, rgba(244, 183, 95, 0.18), transparent 26rem),
    linear-gradient(180deg, #fffdf8 0%, #f5f8f4 100%);
}

.transition-hero-compact {
  min-height: 62vh;
}

.transition-hero-inner {
  max-width: 820px;
  text-align: center;
}

.transition-hero h1 {
  max-width: 15ch;
  margin: 0 auto 22px;
}

.transition-hero .lead {
  max-width: 68ch;
  margin: 0 auto;
}

.transition-badge {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 9px 14px;
  border: 1px solid rgba(47, 125, 82, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary-strong);
  font-size: 0.84rem;
  font-weight: 850;
  box-shadow: var(--shadow-soft);
}

.transition-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.transition-status-card {
  max-width: 620px;
  margin: 38px auto 0;
  padding: 22px 24px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.transition-status-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.transition-footer-main {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.35fr);
}

.account-delete-fallback {
  margin: 20px 0 24px;
}

.account-delete-fallback .btn {
  margin-top: 10px;
}

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

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

  .transition-footer-main {
    grid-template-columns: 1fr;
  }
}
