/* Mory website — "Post, die man anfassen kann": airmail stripes, postmark, perforated stamp,
   handwriting on paper. Same warm palette as the app. No external requests; fonts are local. */

@font-face { font-family: "Fraunces"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/Fraunces_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Fraunces"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/Fraunces_500Medium.ttf") format("truetype"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/Fraunces_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: italic; font-display: swap; src: url("/fonts/Fraunces_600SemiBold_Italic.ttf") format("truetype"); }
@font-face { font-family: "Fraunces"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/Fraunces_700Bold.ttf") format("truetype"); }
@font-face { font-family: "Architects Daughter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/ArchitectsDaughter_400Regular.ttf") format("truetype"); }

:root {
  --paper: #faf6f1;
  --paper-2: #f3ebe0;
  --ink: #1c1b19;
  --ink-2: #6b6560;
  --terra: #c9603e;
  --terra-d: #a94d2f;
  --line: #e4ded5;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --hand: "Architects Daughter", "Segoe Print", "Comic Sans MS", cursive;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --shadow-card: 0 28px 50px -22px rgba(28, 27, 25, 0.38), 0 3px 8px rgba(28, 27, 25, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
/* Paper grain over everything (an inline SVG noise, no request) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.25  0 0 0 0 0.2  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: var(--terra-d); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.label { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

h1, h2, h3 { font-family: var(--serif); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(46px, 8.2vw, 112px); line-height: 0.98; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--terra); }
h2 { font-weight: 600; font-size: clamp(34px, 5vw, 62px); line-height: 1.04; }
h3 { font-weight: 600; font-size: 26px; line-height: 1.15; }

/* Airmail stripe — the one signature detail, used on top and as a divider */
.airmail { height: 12px; background: repeating-linear-gradient(-45deg, var(--terra) 0 16px, var(--paper) 16px 28px, var(--ink) 28px 44px, var(--paper) 44px 56px); }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 8px; }
.wordmark { font-family: var(--serif); font-weight: 500; font-size: 32px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.lang { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px; }
.lang a, .lang span { min-width: 44px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-decoration: none; }
.lang a { color: var(--ink); }
.lang span { background: var(--ink); color: var(--paper); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 28px 0 32px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--sans); font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(28, 27, 25, 0.6); transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn svg { width: 20px; height: 20px; transition: transform 0.2s ease; }
.btn:hover { background: var(--terra-d); color: var(--paper); transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(28, 27, 25, 0.55); }
.btn:hover svg { transform: translateY(3px); }

/* Hero */
.hero { position: relative; padding: 36px 0 84px; background: radial-gradient(900px 520px at 78% 38%, #f6e2d1 0%, transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--terra-d); margin: 0 0 22px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--terra-d); }
.lead { font-size: clamp(19px, 2.1vw, 23px); line-height: 1.5; color: var(--ink-2); margin: 28px 0 36px; max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.note { font-family: var(--hand); font-size: 20px; line-height: 1.2; color: var(--terra-d); margin: 0; rotate: -3deg; }

/* Picture montage — sized in percent of its own box, so nothing ever covers the text */
.montage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.02; margin: 0 auto; }
.montage > * { position: absolute; }
.card-back { width: 80%; aspect-ratio: 1795 / 1287; top: 3%; right: -2%; rotate: 6deg; background: #fff; border-radius: 10px; box-shadow: var(--shadow-card); display: flex; padding: 3.6% 4%; }
.card-back .hand { flex: 1.2; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(12px, 2.5vw, 19px); line-height: 1.45; padding-right: 4%; }
.card-back .divider { width: 1px; background: var(--line); }
.card-back .right { flex: 1; padding-left: 5%; display: flex; flex-direction: column; gap: 9%; }
.stamp-mini { align-self: flex-end; width: 27%; aspect-ratio: 5 / 6; border: 1.5px dashed var(--terra); border-radius: 3px; background: #fbeadf; display: grid; place-items: center; color: var(--terra); font-size: clamp(10px, 2vw, 16px); }
.lines i { display: block; height: 4px; border-radius: 2px; background: var(--line); margin-bottom: 9%; }
.lines i:nth-child(1) { width: 92%; } .lines i:nth-child(2) { width: 70%; } .lines i:nth-child(3) { width: 82%; }
.card-front { width: 80%; aspect-ratio: 1795 / 1287; bottom: 5%; left: 0; rotate: -6deg; background: #fff; border-radius: 10px; box-shadow: var(--shadow-card); padding: 2.2%; }
.card-front img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.phone { width: 24%; aspect-ratio: 1 / 2; bottom: -2%; left: -5%; rotate: -9deg; background: var(--ink); border-radius: 18px; padding: 1.3%; box-shadow: var(--shadow-card); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 45%; border-radius: 14px; }

/* Postmark with wavy cancellation lines, lying across both cards */
.postmark { width: 33%; right: -3%; top: 36%; color: var(--terra-d); mix-blend-mode: multiply; opacity: 0.92; pointer-events: none; }
.postmark svg { width: 100%; height: auto; overflow: visible; }
.postmark .ring { transform-origin: 100px 100px; animation: spin 48s linear infinite; }
.waves { width: 30%; right: 26%; top: 41%; color: var(--terra-d); mix-blend-mode: multiply; opacity: 0.55; pointer-events: none; rotate: -4deg; }
.waves svg { width: 100%; height: auto; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes land { from { opacity: 0; translate: 0 70px; } }
@keyframes stamp-in { from { opacity: 0; scale: 1.5; } }
.card-back { animation: land 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both; }
.card-front { animation: land 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.28s both; }
.phone { animation: land 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.46s both; }
.postmark { animation: stamp-in 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) 1.1s both; }
.waves { animation: stamp-in 0.5s ease-out 1.2s both; }

/* Ticker band, slightly tilted */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding: 16px 0; rotate: -1.2deg; margin: 0 -3vw; }
.ticker-track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.ticker-group { display: flex; flex: none; gap: 36px; padding-right: 36px; align-items: center; }
.ticker-group span { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 24px; white-space: nowrap; }
.ticker-group b { color: var(--terra); font-size: 18px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 108px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { color: var(--ink-2); margin: 18px 0 0; font-size: 21px; }

/* Journey of a card */
.journey { position: relative; }
.route { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--terra); opacity: 0.55; z-index: 0; pointer-events: none; }
.route path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-dasharray: 3 11; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; list-style: none; margin: 0; padding: 0; }
.steps li:nth-child(2) { margin-top: 64px; }
.steps li:nth-child(3) { margin-top: 128px; }
/* The paper-coloured outline lets the dashed route "pass behind" each number like a map line */
.num { display: block; width: fit-content; font-family: var(--hand); font-size: 112px; line-height: 0.85; color: var(--terra); rotate: -5deg; margin-bottom: 14px; paint-order: stroke fill; -webkit-text-stroke: 14px var(--paper); }
.steps p { color: var(--ink-2); margin: 10px 0 0; font-size: 18px; max-width: 18em; }

/* Real, printed */
.echt { background: var(--paper-2); }
.echt .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.mock-wrap { position: relative; padding: 0 0 16% 0; }
.mock { position: relative; aspect-ratio: 1795 / 1287; background: #fff; border-radius: 10px; box-shadow: var(--shadow-card); rotate: -2.5deg; display: flex; padding: 6% 5%; }
.mock::before { content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 34px; translate: -50% 0; rotate: 3deg; background: rgba(232, 196, 168, 0.75); box-shadow: 0 1px 2px rgba(28, 27, 25, 0.12); }
.mock .text { flex: 1.25; font-family: var(--hand); font-size: clamp(14px, 1.9vw, 22px); line-height: 1.55; white-space: pre-line; padding-right: 5%; }
.mock .divider { width: 1px; background: var(--line); }
.mock .addr { flex: 1; padding-left: 6%; display: flex; flex-direction: column; gap: 10%; }
.mock .stamp-mini { width: 30%; }
.mock-photo { position: absolute; right: -4%; bottom: 0; width: 46%; aspect-ratio: 1795 / 1287; rotate: 5deg; background: #fff; padding: 2.2%; border-radius: 8px; box-shadow: var(--shadow-card); }
.mock-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.caption { position: absolute; left: 2%; bottom: 3%; font-family: var(--hand); font-size: 21px; line-height: 1.25; color: var(--terra-d); rotate: -4deg; max-width: 11em; }
dl.facts { margin: 36px 0 0; }
dl.facts div { display: grid; grid-template-columns: 11.5em 1fr; gap: 6px 20px; padding: 18px 0; border-top: 1px solid rgba(28, 27, 25, 0.22); }
dl.facts div:last-child { border-bottom: 1px solid rgba(28, 27, 25, 0.22); }
dl.facts dt { font-style: italic; font-weight: 600; font-size: 21px; color: var(--terra-d); }
dl.facts dd { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.5; }

/* Price: dark, with a perforated stamp */
.price { background: var(--ink); color: var(--paper); overflow: hidden; }
.price::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 22% 50%, rgba(201, 96, 62, 0.28), transparent 70%); pointer-events: none; }
.price .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.stamp { --hole: var(--ink); position: relative; width: min(100%, 400px); margin: 0 auto; aspect-ratio: 4 / 5; padding: 22px; background: var(--paper); color: var(--ink); rotate: -4deg; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.stamp::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle 7px at 10px 0, var(--hole) 97%, transparent) 0 0 / 20px 11px repeat-x,
    radial-gradient(circle 7px at 10px 11px, var(--hole) 97%, transparent) 0 100% / 20px 11px repeat-x,
    radial-gradient(circle 7px at 0 10px, var(--hole) 97%, transparent) 0 0 / 11px 20px repeat-y,
    radial-gradient(circle 7px at 11px 10px, var(--hole) 97%, transparent) 100% 0 / 11px 20px repeat-y; }
.stamp-inner { height: 100%; border: 2px solid var(--terra-d); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; gap: 6px; }
.stamp .label { color: var(--terra-d); }
.stamp .big { font-weight: 700; font-size: clamp(64px, 9vw, 104px); line-height: 0.95; letter-spacing: -0.04em; color: var(--terra-d); }
.stamp .per { font-style: italic; font-weight: 600; font-size: 22px; }
.stamp .hand { font-family: var(--hand); font-size: 19px; color: var(--ink); margin-top: 10px; }
.price h2 { color: var(--paper); }
.price h2 em { color: #e48a69; }
.price .intro { color: #d9d2c8; font-size: 21px; margin: 18px 0 30px; max-width: 28em; }
.incl { list-style: none; margin: 0; padding: 0; }
.incl li { display: flex; gap: 18px; align-items: baseline; padding: 15px 0; border-top: 1px solid rgba(250, 246, 241, 0.22); color: #e9e3da; font-size: 19px; }
.incl li:last-child { border-bottom: 1px solid rgba(250, 246, 241, 0.22); }
.incl li::before { content: "✓"; font-family: var(--hand); color: #e48a69; font-size: 22px; flex: none; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 72px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 32px; margin: 0; }
details { border-top: 1px solid rgba(28, 27, 25, 0.25); }
details:last-child { border-bottom: 1px solid rgba(28, 27, 25, 0.25); }
summary { cursor: pointer; list-style: none; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 22px; line-height: 1.25; padding: 14px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: rotate 0.25s ease; }
details[open] summary::after { rotate: 45deg; }
details p { margin: 0 0 22px; color: var(--ink-2); max-width: 36em; }

/* Final call and footer */
.final { text-align: center; padding-bottom: 72px; }
.final h2 { font-size: clamp(40px, 7.4vw, 100px); font-weight: 700; line-height: 1; }
.final .lead { margin: 26px auto 36px; }
.final .cta-row { justify-content: center; }
.site-footer { padding-top: 8px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; font-family: var(--sans); font-size: 14px; color: var(--ink-2); padding-top: 20px; padding-bottom: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--ink); }
.foot-mark { height: 0.8em; overflow: hidden; font-size: clamp(120px, 31vw, 440px); line-height: 0.82; font-weight: 700; letter-spacing: -0.06em; text-align: center; color: #eadfce; user-select: none; }

/* Scroll reveals where supported; everything is simply visible elsewhere */
@keyframes rise { from { opacity: 0; translate: 0 44px; } }
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}

@media (max-width: 900px) {
  body { font-size: 18px; }
  section { padding: 72px 0; }
  .hero { padding-top: 20px; }
  .hero .wrap, .echt .wrap, .price .wrap, .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .montage { max-width: 440px; }
  .route { display: none; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li { padding-left: 24px; border-left: 2px dashed rgba(201, 96, 62, 0.5); }
  .steps li:nth-child(2), .steps li:nth-child(3) { margin-top: 0; }
  .num { font-size: 80px; }
  .mock-wrap { max-width: 540px; margin: 0 auto; width: 100%; }
  dl.facts div { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .ticker-group span { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
