/* Keep all locale landing pages in sync when editing design, SEO text, or CTA copy. */
:root {
  color-scheme: light;
  --page-bg: #efe4d7;
  --surface: rgba(255, 251, 246, 0.72);
  --surface-strong: rgba(255, 251, 246, 0.92);
  --ink: #41352e;
  --muted: #5f574f;
  --line: rgba(126, 97, 73, 0.12);
  --accent: #c5612e;
  --accent-soft: rgba(197, 97, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
}

.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;
}

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

.landing-page {
  min-height: 100vh;
  padding: 14px;
  background: var(--page-bg);
}

.landing-shell {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 18px 0 88px;
  display: grid;
  gap: 112px;
}

.landing-header,
.landing-hero,
.landing-philosophy {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 12px;
  align-items: center;
}

.landing-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  grid-template-columns: 1fr auto;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(126, 97, 73, 0.1);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(106, 74, 47, 0.08);
}

.landing-install-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  min-height: 60px;
  padding: 16px 22px;
  border: 1px solid rgba(197, 97, 46, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.96), rgba(249, 237, 226, 0.94));
  color: #8f4d29;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  box-shadow:
    0 20px 44px rgba(106, 74, 47, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.42) inset;
  backdrop-filter: blur(18px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition:
    opacity 260ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.landing-install-fab.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.landing-install-fab:hover {
  transform: translateY(-2px) scale(1.01);
  background: linear-gradient(180deg, rgba(204, 103, 50, 0.96), rgba(182, 84, 36, 0.94));
  color: #fff8f4;
  box-shadow:
    0 24px 48px rgba(106, 74, 47, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.landing-install-fab:focus-visible,
.landing-install-close:focus-visible,
.landing-install-action:focus-visible {
  outline: 2px solid rgba(197, 97, 46, 0.3);
  outline-offset: 3px;
}

.landing-install-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(43, 31, 22, 0.32);
  backdrop-filter: blur(10px);
}

.landing-install-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 31;
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 56px);
  max-height: calc(100dvh - 56px);
  overflow: auto;
  transform: translate(-50%, -50%);
}

.landing-install-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.88);
  color: #6c5546;
  font-family: inherit;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.landing-install-header,
.landing-install-section {
  display: grid;
  gap: 12px;
}

.landing-install-header h3,
.landing-install-section h4 {
  margin: 0;
}

.landing-install-header h3 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.landing-install-section h4 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.landing-install-intro,
.landing-install-list {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.landing-install-list {
  padding-left: 24px;
}

.landing-install-section + .landing-install-section {
  margin-top: 22px;
}

.landing-install-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.landing-install-action {
  font-family: inherit;
  cursor: pointer;
}

.landing-logo {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.landing-header-actions,
.landing-cta-row,
.landing-language-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-language-list {
  justify-content: center;
}

.landing-copy,
.landing-problem,
.landing-demo-copy {
  position: relative;
  z-index: 1;
}

.landing-copy {
  margin-left: 40px;
  padding-left: 28px;
}

.landing-kicker,
.landing-section-label {
  margin: 0 0 14px;
  color: #9b755f;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-copy h1,
.landing-problem h2,
.landing-demo-copy h2,
.landing-ai h2,
.landing-philosophy h2,
.landing-final-cta h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.landing-hero-title {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.04;
}

.landing-lead,
.landing-problem p,
.landing-demo-copy p,
.landing-ai p,
.landing-final-cta p,
.landing-principle p,
.landing-problem-list {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.landing-cta-row {
  margin-top: 28px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 18px;
}

.button-link.primary {
  background: var(--accent);
  color: #fff8f4;
}

.button-link.secondary {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--ink);
}

.compact-button {
  min-height: 46px;
  padding: 10px 14px;
  font-size: 16px;
}

.landing-hero-art {
  position: relative;
  z-index: 1;
  margin: 0 40px 0 0;
  padding-right: 28px;
}

.landing-hero-picture {
  display: block;
  width: min(100%, 540px);
  margin-left: auto;
  padding: 14px;
  border-radius: 34px;
  background: rgba(255, 250, 246, 0.58);
  box-shadow: 0 24px 60px rgba(111, 80, 53, 0.08);
}

.landing-hero-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: #eadfd2;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(111, 80, 53, 0.08);
}

.landing-problem {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 18px;
}

.landing-problem-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.landing-problem strong {
  font-weight: inherit;
  color: inherit;
}

.landing-demo {
  display: grid;
  gap: 28px;
  justify-items: center;
}

.landing-demo-copy {
  max-width: 1040px;
  text-align: center;
}

.landing-demo-hint {
  color: #7b6d62;
  font-size: 14px;
  line-height: 1.6;
}

.landing-demo-embed-shell {
  position: relative;
  width: min(100%, 1080px);
}

.landing-demo-embed-shell.is-expanded {
  position: fixed;
  inset: 20px;
  z-index: 50;
  width: auto;
  max-width: none;
  padding: 18px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 249, 243, 0.96), rgba(247, 235, 224, 0.9)),
    rgba(255, 252, 247, 0.9);
  box-shadow: 0 30px 80px rgba(61, 42, 29, 0.2);
}

.landing-demo-embed {
  display: block;
  width: 100%;
  height: 552px;
  border: 0;
  background: transparent;
}

.landing-demo-embed-shell.is-expanded .landing-demo-embed {
  height: 100%;
  min-height: calc(100vh - 76px);
  min-height: calc(100dvh - 76px);
  border-radius: 26px;
}

.landing-demo-embed-shell.is-expanded .landing-demo-embed {
  pointer-events: auto;
}

.landing-demo-close {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  width: 52px;
  height: 52px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(34, 27, 22, 0.52);
  color: #fffaf6;
  box-shadow: 0 12px 28px rgba(43, 31, 22, 0.24);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.landing-demo-close:hover {
  background: rgba(34, 27, 22, 0.66);
  box-shadow: 0 16px 32px rgba(43, 31, 22, 0.3);
  transform: translateY(-1px);
}

.landing-demo-close:focus-visible {
  outline: 2px solid rgba(197, 97, 46, 0.28);
  outline-offset: 3px;
}

.landing-demo-close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-demo-expand-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(43, 31, 22, 0.34);
  backdrop-filter: blur(10px);
}

body.landing-demo-expanded {
  overflow: hidden;
}

body.landing-overlay-open {
  overflow: hidden;
}

.landing-demo-feature-row {
  width: min(100%, 840px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-demo-feature {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 249, 243, 0.72);
  border: 1px solid rgba(130, 99, 76, 0.1);
  text-align: center;
}

.landing-demo-feature h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.landing-demo-feature dfn {
  font-style: normal;
}

.landing-demo-feature p {
  margin: 0;
  color: #6c6158;
  font-size: 14px;
}

.landing-philosophy {
  align-items: start;
}

.landing-philosophy > :first-child {
  margin-left: 40px;
}

.landing-philosophy > :last-child {
  margin-right: 40px;
}

.landing-principles {
  display: grid;
  gap: 18px;
}

.landing-principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.landing-principle span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(197, 97, 46, 0.14);
  color: #a45b35;
  font-size: 13px;
}

.landing-principle h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.landing-ai {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  text-align: center;
}

.panel {
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(126, 97, 73, 0.1);
  box-shadow: 0 14px 30px rgba(106, 74, 47, 0.08);
}

.landing-final-cta {
  display: grid;
  justify-items: start;
  gap: 18px;
  text-align: left;
}

.landing-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #6d6157;
}

.landing-footer nav {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.landing-footer nav + nav {
  margin-top: 30px;
}

.landing-footer-label {
  font-size: 14px;
}

.landing-article-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.landing-article-link {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(126, 97, 73, 0.12);
  background: rgba(255, 251, 246, 0.72);
  color: #5b4e45;
}

.landing-language-button {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(126, 97, 73, 0.12);
  background: rgba(255, 251, 246, 0.72);
  color: #5b4e45;
}

.landing-language-button.is-active {
  background: rgba(197, 97, 46, 0.12);
  border-color: rgba(197, 97, 46, 0.24);
  color: #9c5c36;
}

.landing-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.landing-legal-link {
  color: #6d6157;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: rgba(109, 97, 87, 0.26);
  text-underline-offset: 0.18em;
}

.privacy-contact-block {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.privacy-contact-block p {
  margin: 0;
}

.privacy-contact-link {
  color: #85756b;
  font-size: 0.96em;
  text-decoration: underline;
  text-decoration-color: rgba(133, 117, 107, 0.22);
  text-underline-offset: 0.16em;
}

.landing-footer-credit {
  margin: 8px 0 22px;
  color: #8a7b71;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.floating-paper {
  position: absolute;
  width: 86px;
  height: 86px;
  border-radius: 18px;
  opacity: 0.72;
  box-shadow: 0 18px 30px rgba(150, 111, 81, 0.08);
}

.paper-apricot {
  background: linear-gradient(180deg, rgba(250, 214, 190, 0.76), rgba(237, 180, 149, 0.68));
}

.paper-cream {
  background: linear-gradient(180deg, rgba(255, 247, 214, 0.76), rgba(244, 231, 184, 0.62));
}

.paper-sage {
  background: linear-gradient(180deg, rgba(221, 235, 214, 0.76), rgba(183, 210, 182, 0.68));
}

.hero-paper-one {
  top: 72px;
  right: 380px;
  transform: rotate(-12deg);
}

.hero-paper-two {
  top: 280px;
  left: -12px;
  transform: rotate(11deg);
}

.hero-paper-three {
  right: 24px;
  bottom: 22px;
  transform: rotate(8deg);
}

@media (max-width: 850px) {
  .landing-page {
    padding: 0;
  }

  .landing-shell {
    gap: 84px;
    padding: 10px 14px 72px;
  }

  .landing-header,
  .landing-hero,
  .landing-philosophy {
    grid-template-columns: 1fr;
  }

  .landing-header {
    position: static;
    gap: 18px;
  }

  .landing-copy,
  .landing-hero-art {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .landing-philosophy > :first-child,
  .landing-philosophy > :last-child {
    margin-left: 0;
    margin-right: 0;
  }

  .landing-header-actions {
    justify-content: flex-start;
  }

  .landing-hero-picture {
    width: min(100%, 620px);
    margin: 0 auto;
  }

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

  .hero-paper-one,
  .hero-paper-two,
  .hero-paper-three {
    display: none;
  }

  .landing-demo-embed-shell {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 8px 0;
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 249, 243, 0.94), rgba(247, 235, 224, 0.88)),
      rgba(255, 252, 247, 0.9);
    border: 0;
    box-shadow: 0 18px 36px rgba(95, 66, 42, 0.08);
  }

  .landing-demo-embed {
    border-radius: 18px;
    height: 320px;
  }

  .landing-demo-embed-shell.is-expanded {
    inset: 12px 8px;
    padding: 6px 0;
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 249, 243, 0.94), rgba(247, 235, 224, 0.88)),
      rgba(255, 252, 247, 0.9);
    box-shadow: 0 24px 48px rgba(61, 42, 29, 0.16);
  }

  .landing-demo-embed-shell.is-expanded .landing-demo-embed {
    min-height: calc(100vh - 24px);
    min-height: calc(100dvh - 24px);
    border-radius: 20px;
  }

  .landing-install-modal {
    width: min(720px, calc(100vw - 20px));
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
}

@media (max-width: 560px) {
  .landing-shell {
    gap: 72px;
    padding-bottom: 60px;
  }

  .landing-hero {
    margin-top: -40px;
  }

  .landing-header-actions {
    display: none;
  }

  .landing-copy h1,
  .landing-problem h2,
  .landing-demo-copy h2,
  .landing-philosophy h2,
  .landing-final-cta h2,
  .landing-ai h2 {
    font-size: 36px;
    line-height: 1.14;
  }

  .landing-lead,
  .landing-problem p,
  .landing-demo-copy p,
  .landing-final-cta p,
  .landing-principle p,
  .landing-problem-list,
  .landing-ai p {
    font-size: 16px;
    line-height: 1.8;
  }

  .landing-header {
    padding: 14px;
    border-radius: 26px;
  }

  .landing-cta-row,
  .landing-language-list {
    width: 100%;
  }

  .landing-cta-row {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .landing-cta-row > * {
    flex: 1 1 calc(50% - 7px);
    min-width: 0;
  }

  .landing-final-cta {
    padding: 16px;
  }

  .landing-footer {
    align-items: stretch;
    gap: 12px;
  }

  .landing-legal-links {
    justify-content: flex-start;
  }

  .landing-footer-credit {
    text-align: left;
  }

  .landing-demo-embed-shell {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 4px 0;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 249, 243, 0.92), rgba(247, 235, 224, 0.84)),
      rgba(255, 252, 247, 0.88);
    border: 0;
    box-shadow: 0 18px 36px rgba(95, 66, 42, 0.06);
  }

  .landing-demo-embed {
    border-radius: 14px;
    height: 300px;
    background: #f4eadf;
  }

  .landing-demo-embed-shell.is-expanded {
    inset: 10px 4px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .landing-demo-embed-shell.is-expanded .landing-demo-embed {
    min-height: calc(100vh - 20px);
    min-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  .landing-install-fab {
    right: 12px;
    bottom: 12px;
    min-height: 54px;
    padding: 13px 18px;
    font-size: 16px;
  }

  .landing-install-modal {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 24px 18px 18px;
    border-radius: 24px;
  }

  .landing-install-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .landing-install-header h3 {
    font-size: 42px;
  }

  .landing-install-section h4 {
    font-size: 28px;
  }

  .landing-install-intro,
  .landing-install-list {
    font-size: 16px;
    line-height: 1.7;
  }

  .landing-install-actions {
    justify-content: stretch;
  }

  .landing-install-actions > * {
    width: 100%;
  }
}
