:root {
  --ink: #330000;
  --ink-soft: #663333;
  --muted: #6d6d70;
  --rose: #996666;
  --rose-dark: #663333;
  --sand: #e6dcd3;
  --sand-2: #f7f2ef;
  --sand-3: #dacbc4;
  --paper: #fffdfb;
  --card: #ffffff;
  --line: rgba(51, 0, 0, 0.16);
  --shadow: 0 18px 42px rgba(51, 0, 0, 0.13);
  --radius: 8px;
  --serif: "Alice", Georgia, serif;
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Open Sans", system-ui, sans-serif;
}

@font-face {
  font-family: "Alice";
  src: url("assets/fonts/Alice-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  width: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.43;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

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

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

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
  font: 700 14px var(--display);
  transform: translateY(-160%);
}

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

section[id] {
  scroll-margin-top: 110px;
}

#app {
  scroll-margin-top: 120px;
}

#features,
#tools,
#download {
  scroll-margin-top: 112px;
}

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

.landing-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 48px);
  color: var(--ink-soft);
  background: rgba(218, 203, 196, 0.96);
  border-bottom: 1px solid rgba(51, 0, 0, 0.1);
  backdrop-filter: blur(14px);
  font-family: var(--display);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(51, 0, 0, 0.12);
  object-fit: cover;
}

.landing-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 22px;
  font-size: 14px;
  font-weight: 700;
}

.landing-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
}

.landing-nav a {
  padding: 8px 0;
}

.language-link {
  min-width: 38px;
  padding: 7px 9px !important;
  color: var(--ink);
  background: rgba(255, 253, 251, 0.5);
  border: 1px solid rgba(51, 0, 0, 0.18);
  border-radius: 6px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.language-link:hover,
.language-link:focus-visible {
  background: var(--paper);
  border-color: var(--rose);
}

.landing-nav-cta {
  min-width: 104px;
  padding: 9px 18px !important;
  color: #fff;
  background: var(--rose);
  border-radius: 6px;
  text-align: center;
}

.template-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(230px, 320px) minmax(280px, 1fr);
  grid-template-areas: "card phone quote";
  gap: 22px 34px;
  align-items: center;
  min-height: 740px;
  padding: 76px clamp(12px, 3vw, 48px) 96px;
  background: var(--sand);
}

.hero-card,
.hero-quote {
  background: var(--sand-3);
  border-radius: var(--radius);
  min-height: 380px;
}

.hero-card {
  grid-area: card;
  align-self: start;
  position: relative;
  z-index: 2;
  padding: clamp(30px, 5vw, 56px) 32px 34px;
  text-align: center;
}

.brand-kicker {
  margin-bottom: -8px;
  color: var(--rose-dark);
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 44px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.9;
}

.hero-line {
  margin-bottom: 16px;
  color: var(--rose-dark);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
}

.store-hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(245px, 100%);
  margin: 0 auto;
  min-height: 36px;
  border: 1px solid rgba(51, 0, 0, 0.12);
  border-radius: 6px;
  padding: 8px 16px;
  color: #fff;
  background: var(--rose);
  font: 700 14px var(--display);
  text-align: center;
  transition: background 160ms ease, transform 160ms ease;
}

.store-hero-link:hover,
.store-hero-link:focus-visible {
  background: var(--rose-dark);
  transform: translateY(-1px);
}

.hero-phone {
  grid-area: phone;
  justify-self: center;
  position: relative;
  isolation: isolate;
  z-index: 4;
  width: min(100%, 306px);
}

.hero-phone::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 2% 6% 2.5%;
  border-radius: 14% / 7%;
  box-shadow:
    0 22px 34px rgba(51, 0, 0, 0.24),
    0 8px 14px rgba(51, 0, 0, 0.12);
}

.hero-phone img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.hero-quote {
  grid-area: quote;
  align-self: start;
  display: grid;
  align-content: center;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 42px 26px;
  color: var(--rose);
  font-family: var(--display);
  font-size: clamp(25px, 2.45vw, 35px);
  line-height: 1.1;
  text-align: center;
}

.hero-quote::after {
  content: "♡♡♡";
  display: block;
  margin-top: 18px;
  color: var(--paper);
  letter-spacing: 2px;
}

.hero-quote span::before {
  content: "„";
}

.hero-quote span::after {
  content: "“";
}

[lang="en"] .hero-quote span::before,
[lang="en"] .quote-strip blockquote::before {
  content: "“";
}

[lang="en"] .hero-quote span::after,
[lang="en"] .quote-strip blockquote::after {
  content: "”";
}

.hero-info-rail {
  overflow: hidden;
  padding: 8px 0 26px;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.benefit-marquee {
  position: relative;
  overflow: hidden;
  padding: 24px 0 4px;
  background: linear-gradient(180deg, var(--sand) 0, var(--sand-2) 72px);
  border-bottom: 1px solid rgba(51, 0, 0, 0.07);
}

.benefit-marquee-label {
  margin: 0 0 12px;
  color: var(--rose-dark);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.hero-info-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: info-rail 44s linear infinite;
  will-change: transform;
}

.info-bubble {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 252px;
  min-height: 86px;
  padding: 18px 22px;
  color: var(--rose-dark);
  background: rgba(255, 253, 251, 0.88);
  border: 1px solid rgba(153, 102, 102, 0.22);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(51, 0, 0, 0.08);
  text-align: center;
}

.info-bubble span {
  color: var(--rose);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.info-bubble strong {
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.22;
}

@keyframes info-rail {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-info-track {
    animation: none;
    transform: translateX(-18px);
  }
}

.stash-intro {
  display: grid;
  place-content: center;
  min-height: clamp(390px, 46vh, 540px);
  padding: 96px 18px 88px;
  text-align: center;
}

.stash-intro h2,
.tools-copy h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  line-height: 0.98;
}

.stash-intro p {
  max-width: 860px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 780px;
  margin: 0 auto 10px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(34px, 4.8vw, 52px);
  font-weight: 700;
  line-height: 1;
}

.section-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-story {
  display: grid;
  gap: 38px;
  width: min(100% - 80px, 1110px);
  margin: 0 auto;
  padding-top: 38px;
  padding-bottom: 78px;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(190px, 340px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 72px);
  min-height: 278px;
  min-width: 0;
}

.story-row-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 310px);
}

.story-card,
.wide-story {
  min-height: 280px;
  min-width: 0;
  padding: clamp(30px, 5vw, 58px);
  background: var(--sand-2);
  border-radius: var(--radius);
}

.story-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  background: rgba(153, 102, 102, 0.13);
  border: 1px solid rgba(51, 0, 0, 0.08);
  border-radius: 999px;
  line-height: 1;
}

.story-icon img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.wide-story .story-icon {
  margin-left: auto;
  margin-right: auto;
}

.story-card h3,
.wide-story h3 {
  max-width: 100%;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: clamp(31px, 4vw, 46px);
  font-weight: 700;
  hyphens: auto;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.story-subtitle {
  margin-bottom: 12px;
  color: var(--rose);
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}

.story-card p:not(.story-subtitle),
.wide-story p:not(.story-subtitle) {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.phone-frame {
  position: relative;
  justify-self: center;
  width: min(100%, 248px);
  aspect-ratio: 390 / 780;
  padding: 14px 11px 11px;
  background: linear-gradient(145deg, #242020 0%, #050505 56%, #1b1717 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 38px;
  box-shadow: 0 22px 34px rgba(51, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: visible;
  isolation: isolate;
}

.phone-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 50%;
  width: 34%;
  height: 18px;
  background: #050505;
  border-radius: 0 0 14px 14px;
  transform: translateX(-50%);
}

.phone-frame::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 90px;
  width: 3px;
  height: 58px;
  background: #171313;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 82px 0 #171313;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #fff;
  border-radius: 28px;
}

.wide-story {
  display: grid;
  place-items: center;
  min-height: 285px;
  text-align: center;
}

.wide-story p {
  margin-left: auto;
  margin-right: auto;
}

.calculator-story {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(30px, 5vw, 58px) 0;
  text-align: center;
}

.quote-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
  padding: 44px clamp(18px, 4vw, 48px) 34px;
  background: var(--sand);
}

.quote-card {
  display: grid;
  place-items: center;
  min-height: 86px;
  margin: 0;
  padding: 20px 18px;
  color: var(--ink);
  background: rgba(255, 253, 251, 0.94);
  border: 1px solid rgba(51, 0, 0, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(51, 0, 0, 0.05);
  font-size: 17px;
  line-height: 1.45;
  text-align: center;
}

.launch-cta {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.app-store-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  color: #fff;
  background: var(--rose);
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(93, 46, 45, 0.18);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-store-text-link:hover,
.app-store-text-link:focus-visible {
  color: #fff;
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(93, 46, 45, 0.24);
}

.launch-cta p {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.tools-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(220px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  width: min(100% - 90px, 1100px);
  margin: 0 auto;
  padding: 125px 0 150px;
  overflow-x: clip;
}

.tools-copy p {
  max-width: 520px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

.tool-list {
  display: grid;
  gap: 18px;
  max-width: 520px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 17px;
}

.tool-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.tool-list li > img {
  width: 30px;
  height: 30px;
  padding: 5px;
  object-fit: contain;
  background: var(--sand-2);
  border: 1px solid rgba(153, 102, 102, 0.2);
  border-radius: 6px;
}

.tool-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.2;
}

.tools-showcase {
  position: relative;
  display: grid;
  min-height: 620px;
  padding: 12px 0;
}

.tool-shot {
  grid-area: 1 / 1;
  width: min(70%, 360px);
  aspect-ratio: 0.78;
  margin: 0;
  overflow: hidden;
  background: var(--sand);
  border: 1px solid rgba(51, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(51, 0, 0, 0.13);
}

.tool-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.tool-shot-size {
  justify-self: start;
  transform: rotate(-1.5deg);
}

.tool-shot-calculator {
  z-index: 1;
  justify-self: end;
  margin-top: 150px;
  transform: rotate(1.5deg);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(100% - 80px, 1110px);
  margin: 0 auto;
  padding-bottom: 92px;
}

.benefit-grid article {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 250px;
  padding: 28px 25px;
  background: rgba(255, 253, 251, 0.94);
  border: 1px solid rgba(51, 0, 0, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(51, 0, 0, 0.06);
  text-align: center;
}

.benefit-grid span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  background: var(--sand-3);
  border: 1px solid rgba(51, 0, 0, 0.1);
  border-radius: 8px;
}

.benefit-grid span img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.benefit-grid h3 {
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.05;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.benefit-grid p {
  max-width: 28ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.5;
}

.download-section {
  width: min(100% - 80px, 1110px);
  margin: 0 auto;
  padding: 78px 0 58px;
  border-top: 3px solid var(--rose);
  border-bottom: 3px solid var(--rose);
}

.download-copy {
  width: min(760px, 100%);
  margin: 0 auto 30px;
  text-align: center;
}

.download-copy > span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 7px 11px;
  color: var(--rose-dark);
  background: var(--sand-2);
  border: 1px solid rgba(153, 102, 102, 0.2);
  border-radius: 6px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
}

.download-copy h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
}

.download-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.5;
}

.app-store-badge {
  display: block;
  width: fit-content;
  min-height: 40px;
  margin: 0 auto;
  line-height: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.app-store-badge:hover,
.app-store-badge:focus-visible {
  opacity: 0.9;
  transform: translateY(-2px);
}

.app-store-badge img {
  display: block;
  width: 180px;
  height: auto;
}

.footer {
  padding: 30px clamp(22px, 5vw, 64px) 18px;
  color: var(--ink-soft);
  background: var(--sand-3);
  border-top: 1px solid rgba(51, 0, 0, 0.08);
  font-family: var(--display);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

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

.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(51, 0, 0, 0.12);
}

.footer-brand span {
  display: grid;
  gap: 1px;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 18px;
}

.footer-brand small {
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.footer-social-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
}

.footer p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.socials {
  display: flex;
  gap: 10px;
}

.social-placeholder {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--ink-soft);
  border-radius: 8px;
  cursor: default;
}

.socials svg {
  width: 22px;
  height: 22px;
}

.socials rect,
.socials circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.socials path {
  fill: currentColor;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  align-items: center;
  justify-content: flex-end;
  gap: 2px 22px;
}

.footer-links a,
.footer-links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 0;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 0;
  font: 700 12px var(--display);
  cursor: pointer;
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links button:hover,
.footer-links button:focus-visible {
  color: var(--ink);
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1180px;
  margin: 22px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(51, 0, 0, 0.12);
  font-family: var(--body);
  font-size: 11px;
}

footer .apple-credit {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

.privacy-notice {
  position: fixed;
  z-index: 60;
  right: clamp(14px, 3vw, 36px);
  bottom: clamp(14px, 3vw, 32px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(760px, calc(100% - 28px));
  padding: 18px;
  color: var(--ink-soft);
  background: rgba(255, 253, 251, 0.98);
  border: 1px solid rgba(51, 0, 0, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(51, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.privacy-notice[hidden] {
  display: none;
}

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

.privacy-notice-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--ink-soft);
  background: var(--sand);
  border-radius: 8px;
}

.privacy-notice-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.privacy-notice-copy span,
.privacy-notice-copy strong {
  display: block;
  font-family: var(--display);
}

.privacy-notice-copy span {
  margin-bottom: 2px;
  color: var(--rose);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.privacy-notice-copy strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 16px;
}

.privacy-notice-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.privacy-notice-actions {
  display: grid;
  justify-items: stretch;
  gap: 8px;
  min-width: 152px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.privacy-link-button {
  min-height: 40px;
  padding: 9px 16px;
  color: var(--ink-soft);
  background: rgba(255, 253, 251, 0.75);
  border: 1px solid rgba(51, 0, 0, 0.16);
  border-radius: 6px;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.privacy-link-button:hover,
.privacy-link-button:focus-visible {
  color: var(--rose-dark);
  border-color: var(--rose);
}

.privacy-notice-actions button:not(.privacy-link-button) {
  min-height: 40px;
  padding: 9px 16px;
  color: #fff;
  background: var(--ink-soft);
  border: 1px solid var(--ink-soft);
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}

.privacy-notice-actions button:not(.privacy-link-button):hover,
.privacy-notice-actions button:not(.privacy-link-button):focus-visible {
  background: var(--ink);
  border-color: var(--ink);
}

.legal-topbar {
  border-bottom: 1px solid var(--line);
}

.legal-topbar .landing-nav {
  max-width: none;
}

.legal-topbar .legal-cookie-button {
  min-height: 0;
  color: var(--ink-soft);
  font: inherit;
}

.legal-topbar .legal-cookie-button:hover,
.legal-topbar .legal-cookie-button:focus-visible {
  color: var(--rose-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(218, 203, 196, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 28px;
  align-items: center;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
}

.legal-cookie-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  font: 700 14px var(--display);
  cursor: pointer;
}

.legal-cookie-button:hover,
.legal-cookie-button:focus-visible {
  color: var(--rose-dark);
}

.legal-main a:not(.brand) {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-page {
  min-height: 100vh;
  background: var(--paper);
}

.legal-main {
  width: min(100% - 36px, 1040px);
  margin: clamp(28px, 5vw, 64px) auto clamp(72px, 10vw, 120px);
  padding: clamp(32px, 6vw, 72px);
  background: var(--sand-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(51, 0, 0, 0.08);
}

.legal-main h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 68px);
  overflow-wrap: anywhere;
}

.legal-main h2 {
  margin-top: 46px;
  padding-top: 28px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(23px, 3.4vw, 31px);
}

.legal-main p,
.legal-main li,
.legal-main address {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.legal-document ul {
  padding-left: 22px;
}

.legal-document b {
  font-weight: 700;
}

.legal-provider-text {
  overflow-wrap: anywhere;
}

.itkanzlei-copyright-logo {
  max-width: 100%;
  height: auto;
  border: 0;
}

.itkanzlei-copyright {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8em;
  color: var(--muted);
  font-size: 12px;
}

.itkanzlei-copyright-mark {
  flex: 0 1 auto;
}

.itkanzlei-copyright-date {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.notice {
  padding: 20px 22px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rose);
  border-radius: var(--radius);
}

.legal-eyebrow {
  margin: 0 0 10px;
  color: var(--rose);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-lead {
  max-width: 720px;
  font-size: clamp(18px, 2.4vw, 22px);
}

.legal-meta {
  margin-top: 10px;
  font-size: 14px;
}

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

.legal-card {
  padding: clamp(22px, 4vw, 34px);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(51, 0, 0, 0.07);
}

.legal-card h2 {
  margin: 0 0 12px;
  padding-top: 0;
  border-top: 0;
  font-size: clamp(24px, 3vw, 30px);
}

.legal-card p {
  margin: 0 0 20px;
}

.legal-card nav {
  display: grid;
  gap: 10px;
}

.legal-card a,
.legal-back {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-underline-offset: 4px;
}

.inline-privacy-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  color: #fff;
  background: var(--ink-soft);
  border: 1px solid var(--ink-soft);
  border-radius: 6px;
  font: 700 13px var(--display);
  cursor: pointer;
}

.inline-privacy-settings:hover,
.inline-privacy-settings:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 36px;
}

.legal-main address {
  color: var(--ink-soft);
  font-style: normal;
}

.legal-footer {
  margin-top: 0;
}

.legal-page .nav-links a,
.legal-card a,
.legal-back,
.legal-main a:not(.brand) {
  transition: color 160ms ease;
}

.legal-page .nav-links a:hover,
.legal-page .nav-links a:focus-visible,
.legal-card a:hover,
.legal-card a:focus-visible,
.legal-back:hover,
.legal-back:focus-visible,
.legal-main a:hover,
.legal-main a:focus-visible {
  color: var(--rose-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1120px) and (min-width: 921px) {
  .template-hero {
    grid-template-columns: minmax(240px, 0.9fr) minmax(220px, 280px) minmax(240px, 0.9fr);
    gap: 20px 24px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-card {
    padding-left: 24px;
    padding-right: 24px;
  }

  .template-hero h1 {
    font-size: clamp(46px, 5vw, 56px);
  }

  .hero-quote {
    font-size: clamp(24px, 2.5vw, 30px);
  }
}

@media (max-width: 920px) {
  .template-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "card"
      "phone"
      "quote";
    min-height: auto;
    padding-top: 34px;
  }

  .hero-card,
  .hero-quote {
    width: min(100%, 620px);
    justify-self: center;
  }

  .hero-quote {
    min-height: auto;
    margin-top: 0;
    padding: 34px 24px;
  }

  .story-row,
  .story-row-reverse,
  .tools-section {
    grid-template-columns: 1fr;
  }

  .tools-showcase {
    width: min(100%, 620px);
    margin: 12px auto 0;
  }

  .story-row-reverse .story-card {
    order: 2;
  }

  .story-row-reverse .phone-frame {
    order: 1;
  }

  .calculator-story {
    padding: clamp(30px, 5vw, 58px) 0;
    text-align: center;
    justify-items: center;
  }

  .quote-strip,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .launch-cta {
    grid-column: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .landing-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 14px 8px;
  }

  .landing-brand {
    gap: 8px;
    font-size: 16px;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .landing-nav {
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 2px 0 4px;
    gap: 6px 14px;
    overflow: visible;
    scrollbar-width: none;
    font-size: 12px;
    white-space: normal;
  }

  .landing-actions {
    flex-wrap: wrap;
    width: 100%;
    gap: 8px 10px;
  }

  .landing-actions > .language-link {
    flex: 0 0 auto;
  }

  .landing-nav::-webkit-scrollbar {
    display: none;
  }

  .landing-nav a {
    padding: 6px 0;
  }

  .landing-nav-cta {
    min-width: 0;
    padding: 7px 12px !important;
  }

  .template-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-card {
    min-height: 0;
  }

  h1 {
    font-size: clamp(44px, 15vw, 70px);
  }

  .hero-phone {
    width: min(76vw, 260px);
  }

  .benefit-marquee {
    padding-top: 20px;
  }

  .benefit-marquee-label {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .hero-info-rail {
    padding: 8px 0 20px;
  }

  .hero-info-track {
    gap: 12px;
    animation-duration: 52s;
  }

  .info-bubble {
    min-width: 218px;
    min-height: 74px;
    padding: 14px 16px;
  }

  .info-bubble strong {
    font-size: 15px;
  }

  .feature-story,
  .tools-section,
  .benefit-grid,
  .download-section {
    width: min(100% - 28px, 1110px);
  }

  .stash-intro {
    min-height: 380px;
    padding: 82px 18px 72px;
  }

  .feature-story {
    padding-top: 22px;
  }

  .tools-section {
    gap: 40px;
    padding: 82px 0 96px;
  }

  .tools-showcase {
    min-height: 500px;
  }

  .tool-shot {
    width: min(72vw, 270px);
  }

  .tool-shot-calculator {
    margin-top: 112px;
  }

  .story-card,
  .wide-story {
    min-height: 0;
    padding: 28px 22px;
  }

  .phone-frame {
    width: min(68vw, 230px);
  }

  .quote-strip {
    gap: 18px;
  }

  .benefit-grid article {
    min-height: 0;
  }

  .benefit-grid p {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 22px;
  }

  .footer-social-block {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-links {
    grid-column: auto;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    justify-content: flex-start;
    width: 100%;
    gap: 4px 14px;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .privacy-notice {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    width: auto;
    padding: 16px;
  }

  .privacy-notice-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .site-header {
    position: sticky;
    top: 0;
    align-items: flex-start;
    flex-direction: row;
    gap: 10px 16px;
    padding: 10px 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 10px 18px;
    font-size: 12px;
  }

  .legal-cookie-button {
    min-height: 0;
    font-size: 12px;
  }

  .legal-main {
    width: min(100% - 28px, 960px);
    margin-top: 18px;
    padding: 28px 18px 42px;
  }

  .legal-main h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

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