:root {
  --paper: #f9f2df;
  --paper-warm: #f2e4c8;
  --ink: #332e2b;
  --ink-soft: #594f47;
  --coral: #c94f47;
  --coral-dark: #a83b35;
  --mustard: #e6a633;
  --sage: #5e916e;
  --sky: #5e96ab;
  --lavender: #8c78ab;
  --white: #fffdf7;
  --line: rgba(51, 46, 43, 0.2);
  --shadow: 5px 6px 0 rgba(51, 46, 43, 0.13);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shell: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(230, 166, 51, 0.13), transparent 24rem),
    var(--paper);
  font-family: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Yu Gothic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: repeating-linear-gradient(115deg, transparent 0 11px, rgba(51, 46, 43, 0.035) 12px, transparent 13px 24px);
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong {
  font-weight: 800;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.18;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.3;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 15px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px dashed rgba(51, 46, 43, 0.18);
  background: rgba(249, 242, 223, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 11px;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  border: 2px solid rgba(51, 46, 43, 0.7);
  border-radius: 12px;
  box-shadow: 2px 3px 0 rgba(51, 46, 43, 0.14);
}

.brand span,
.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 650;
}

.primary-nav {
  display: flex;
  padding: 5px;
  border: 1.5px solid rgba(51, 46, 43, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.65);
}

.primary-nav a {
  padding: 7px 15px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.primary-nav a[aria-current="page"] {
  color: var(--white);
  background: var(--ink);
}

.language-menu {
  position: relative;
  justify-self: end;
}

.language-menu summary {
  min-width: 92px;
  padding: 9px 13px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
  background: var(--white);
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 150px;
  padding: 7px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow);
}

.language-options a {
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.language-options a:hover,
.language-options a[aria-current="true"] {
  background: var(--paper-warm);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
  align-items: center;
  min-height: 680px;
  padding-block: 78px 90px;
  gap: 60px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 7px 12px;
  border: 1.5px dashed var(--coral);
  border-radius: 999px;
  gap: 8px;
  background: rgba(255, 253, 247, 0.6);
}

.eyebrow span {
  color: var(--mustard);
}

.hero h1 {
  max-width: 750px;
  margin-bottom: 24px;
}

.hero-intro,
.page-heading > p,
.privacy-callout p,
.support-contact p {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 30px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 19px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 3px 4px 0 rgba(51, 46, 43, 0.2);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  box-shadow: 1px 2px 0 rgba(51, 46, 43, 0.2);
  transform: translate(2px, 2px);
}

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

.button-secondary {
  background: var(--white);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  margin: 27px 0 0;
  padding: 0;
  gap: 16px 24px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 700;
  list-style: none;
}

.trust-list span {
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--sage);
}

.hero-art {
  position: relative;
  min-height: 450px;
}

.planet-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(86%, 430px);
  aspect-ratio: 1;
  padding: 38px;
  place-items: center;
  border: 4px dashed rgba(94, 150, 171, 0.7);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.52);
  transform: translate(-50%, -50%) rotate(-3deg);
}

.planet-ring::after {
  position: absolute;
  inset: -20px 38px 22px -16px;
  border: 10px solid rgba(230, 166, 51, 0.22);
  border-radius: 50%;
  content: "";
  transform: rotate(14deg);
}

.planet-ring img {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 4px solid rgba(51, 46, 43, 0.75);
  border-radius: 27%;
  box-shadow: 8px 10px 0 rgba(51, 46, 43, 0.12);
  transform: rotate(3deg);
}

.sun-dot {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 70px;
  height: 70px;
  border: 3px dashed rgba(51, 46, 43, 0.4);
  border-radius: 50%;
  background: var(--mustard);
}

.cloud {
  position: absolute;
  width: 80px;
  height: 23px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 2px 0 rgba(51, 46, 43, 0.12);
}

.cloud::before,
.cloud::after {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
  content: "";
}

.cloud::before {
  left: 14px;
  width: 35px;
  height: 35px;
}

.cloud::after {
  right: 13px;
  width: 27px;
  height: 27px;
}

.cloud-one {
  top: 21%;
  left: -3%;
}

.cloud-two {
  right: -1%;
  bottom: 18%;
  transform: scale(0.75);
}

.leaf {
  position: absolute;
  width: 64px;
  height: 110px;
  border: 3px solid rgba(51, 46, 43, 0.65);
  border-radius: 90% 10% 90% 10%;
  background: var(--sage);
}

.leaf-one {
  bottom: 4%;
  left: 6%;
  transform: rotate(-35deg);
}

.leaf-two {
  right: 7%;
  bottom: 2%;
  background: #87a65e;
  transform: rotate(30deg) scale(0.75);
}

.spark {
  position: absolute;
  color: var(--coral);
  font-size: 2rem;
}

.spark-one {
  top: 6%;
  left: 16%;
}

.spark-two {
  right: 2%;
  bottom: 44%;
  color: var(--lavender);
  font-size: 1.4rem;
}

.feature-section {
  padding-block: 90px;
  border-block: 1px dashed rgba(51, 46, 43, 0.2);
  background: rgba(242, 228, 200, 0.64);
}

.feature-section h2 {
  max-width: 650px;
  margin-bottom: 38px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 265px;
  padding: 25px 22px;
  border: 2px solid rgba(51, 46, 43, 0.68);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 247, 0.82);
  box-shadow: var(--shadow);
}

.feature-card:nth-child(2) .feature-symbol {
  color: var(--white);
  background: var(--coral);
}

.feature-card:nth-child(3) .feature-symbol {
  color: var(--white);
  background: var(--lavender);
}

.feature-card:nth-child(4) .feature-symbol {
  color: var(--white);
  background: var(--sage);
}

.feature-symbol,
.callout-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  place-items: center;
  border: 2px solid rgba(51, 46, 43, 0.65);
  border-radius: 16px;
  color: var(--ink);
  background: var(--mustard);
  font-size: 1.65rem;
  font-weight: 900;
  box-shadow: 3px 3px 0 rgba(51, 46, 43, 0.14);
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.privacy-callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-block: 84px;
  padding: 36px 40px;
  border: 2px solid rgba(51, 46, 43, 0.7);
  border-radius: var(--radius-lg);
  gap: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.privacy-callout .callout-mark {
  width: 72px;
  height: 72px;
  margin: 0;
  color: var(--white);
  border-radius: 50%;
  background: var(--sage);
}

.privacy-callout h2 {
  margin-bottom: 6px;
  font-size: 1.65rem;
}

.privacy-callout p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.text-link,
.email-link {
  color: var(--coral-dark);
  font-weight: 800;
}

.text-link span {
  margin-left: 8px;
}

.page-heading {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.page-heading h1 {
  margin-bottom: 22px;
}

.page-heading > p {
  margin-bottom: 20px;
}

.source-note {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--sage);
  background: rgba(94, 145, 110, 0.11);
  font-size: 0.79rem;
  font-weight: 750;
}

.legal-main,
.support-main {
  padding-block: 76px 100px;
}

.policy-card {
  max-width: 860px;
  margin-inline: auto;
  overflow: hidden;
  border: 2px solid rgba(51, 46, 43, 0.65);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 247, 0.86);
  box-shadow: var(--shadow);
}

.policy-section {
  display: grid;
  grid-template-columns: 52px 1fr;
  padding: 30px 34px;
  border-bottom: 1px dashed rgba(51, 46, 43, 0.22);
  gap: 20px;
}

.policy-section:last-child {
  border-bottom: 0;
}

.policy-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1.5px solid rgba(51, 46, 43, 0.4);
  border-radius: 50%;
  color: var(--coral-dark);
  background: var(--paper-warm);
  font-size: 0.72rem;
  font-weight: 850;
}

.policy-section h2 {
  margin-bottom: 9px;
  font-size: 1.25rem;
}

.policy-section p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-section {
  background: rgba(230, 166, 51, 0.08);
}

.email-link {
  display: inline-block;
  margin-top: 10px;
  overflow-wrap: anywhere;
}

.effective-date {
  max-width: 860px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: right;
}

.support-heading {
  max-width: 720px;
}

.support-contact {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-bottom: 56px;
  padding: 30px 34px;
  border: 2px solid rgba(51, 46, 43, 0.7);
  border-radius: var(--radius-lg);
  gap: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.support-contact h2 {
  margin-bottom: 5px;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  overflow-wrap: anywhere;
}

.support-contact p {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.mail-art {
  position: relative;
  display: grid;
  width: 80px;
  height: 70px;
  place-items: center;
  border: 3px solid var(--ink-soft);
  border-radius: 13px;
  background: var(--mustard);
  transform: rotate(-3deg);
}

.mail-art::after {
  position: absolute;
  top: 5px;
  width: 45px;
  height: 45px;
  border-right: 3px solid var(--ink-soft);
  border-bottom: 3px solid var(--ink-soft);
  content: "";
  transform: rotate(45deg);
}

.mail-art span {
  position: absolute;
  top: -20px;
  right: -15px;
  color: var(--coral);
  font-size: 1.8rem;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 28px;
}

.faq-section > h2,
.app-info h2 {
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.faq-list {
  display: grid;
  gap: 11px;
}

.faq-item {
  border: 1.5px solid rgba(51, 46, 43, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 247, 0.7);
}

.faq-item summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span::before,
.faq-item summary span::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  content: "";
}

.faq-item summary span::after {
  transform: rotate(90deg);
  transition: transform 150ms ease;
}

.faq-item[open] summary span::after {
  transform: rotate(0);
}

.faq-item p {
  margin: -3px 20px 19px;
  color: var(--ink-soft);
}

.app-info {
  position: sticky;
  top: 24px;
  padding: 26px;
  border: 2px solid rgba(51, 46, 43, 0.68);
  border-radius: var(--radius-md);
  background: var(--paper-warm);
  box-shadow: var(--shadow);
}

.app-info dl {
  margin: 0;
}

.app-info dl div {
  padding-block: 13px;
  border-top: 1px dashed rgba(51, 46, 43, 0.24);
}

.app-info dt {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 750;
}

.app-info dd {
  margin: 3px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.app-info a {
  color: var(--coral-dark);
  font-size: 0.86rem;
}

.not-found {
  display: grid;
  min-height: 65vh;
  padding-block: 80px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.not-found > span {
  color: var(--mustard);
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
}

.not-found h1 {
  margin: 15px 0;
  font-size: 2.4rem;
}

.site-footer {
  padding-block: 42px;
  border-top: 1px dashed rgba(51, 46, 43, 0.25);
  background: var(--paper-warm);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand span,
.copyright {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  font-size: 0.83rem;
  font-weight: 750;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

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

  .primary-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: center;
    margin-bottom: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 60px 72px;
  }

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

  .hero-intro {
    margin-inline: auto;
  }

  .button-row,
  .trust-list {
    justify-content: center;
  }

  .hero-art {
    width: min(520px, 100%);
    margin-inline: auto;
  }

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

  .support-contact {
    grid-template-columns: auto 1fr;
  }

  .support-contact .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.45rem);
  }

  .header-inner {
    min-height: 72px;
    gap: 10px;
  }

  .brand small {
    display: none;
  }

  .primary-nav {
    width: 100%;
  }

  .primary-nav a {
    flex: 1;
    padding-inline: 7px;
    text-align: center;
  }

  .language-menu summary {
    min-width: 0;
  }

  .hero {
    min-height: auto;
    gap: 35px;
  }

  .hero-art {
    min-height: 330px;
  }

  .feature-section,
  .legal-main,
  .support-main {
    padding-block: 62px;
  }

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

  .feature-card {
    min-height: auto;
  }

  .privacy-callout {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .privacy-callout .callout-mark {
    width: 58px;
    height: 58px;
  }

  .policy-section {
    grid-template-columns: 1fr;
    padding: 25px 22px;
    gap: 13px;
  }

  .support-contact {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .mail-art {
    width: 65px;
    height: 56px;
  }

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

  .app-info {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .footer-links {
    justify-content: center;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
