/* Legacy Lab / Timule shared website visual system */

/* Tokens */

:root {
    --paper: #f7f4ef;
    --paper-deep: #eee5dd;
    --paper-soft: #f2ebe5;
    --white: #fff;
    --ink: #211e1b;
    --muted: #6e665f;
    --muted-light: #90877f;
    --accent: #e47452;
    --accent-hover: #d96748;
    --accent-soft: #e9ab93;
    --accent-pale: #f4dfd6;
    --legacy-blue: #58759c;
    --danger: #a63c2d;
    --success: #35684a;
    --line: rgba(45, 39, 34, 0.14);
    --line-strong: rgba(45, 39, 34, 0.28);
    --shadow-soft: 0 18px 44px rgba(60, 48, 39, 0.08);
    --radius-lg: 30px;
    --radius-md: 24px;
    --radius-sm: 18px;
    --page-width: 1180px;
    --reading-width: 760px;
    --image-radius: 22px;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: var(--font-body);
}

/* Reset / foundation */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: clip;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

button {
    border: 0;
}

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

::selection {
    background: var(--accent-soft);
    color: var(--ink);
}

.visually-hidden,
.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--white);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, calc(-100% - 24px), 0);
    transition: clip-path 0s linear 160ms, opacity 160ms ease, transform 160ms ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    clip-path: inset(0);
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s;
}

/* Shared layout and components */

.site-container {
    width: min(calc(100% - 80px), var(--page-width));
    margin-inline: auto;
}

.text-accent {
    color: var(--accent);
}

.product-shot,
.feature-shot {
    border-radius: var(--image-radius);
    box-shadow: var(--shadow-soft);
}

.desktop-only {
    display: inline;
}

.phone-only {
    display: none;
}

.button,
.store-placeholder {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.button {
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease,
        border-color 160ms ease, box-shadow 160ms ease;
}

.button:disabled {
    cursor: wait;
    opacity: 0.66;
}

.button--primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(228, 116, 82, 0.18);
}

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

.store-placeholder {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.32);
    color: #827a73;
}

.text-link {
    color: var(--legacy-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.back-to-top {
    position: fixed;
    inset-inline-end: 24px;
    bottom: 24px;
    z-index: 50;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(247, 244, 239, 0.92);
    box-shadow: 0 8px 24px rgba(60, 48, 39, 0.12);
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    visibility: hidden;
    backdrop-filter: blur(10px);
    transition: opacity 180ms ease, transform 180ms ease,
        visibility 180ms ease, border-color 160ms ease, color 160ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.back-to-top span {
    transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
    .button--primary:hover {
        transform: translateY(-1px);
        background: var(--accent-hover);
        box-shadow: 0 11px 24px rgba(228, 116, 82, 0.24);
    }

    .button--secondary:hover {
        border-color: var(--ink);
    }

    .site-footer__nav a:hover,
    .site-header__nav a:hover,
    .context-nav a:hover,
    .policy-contents a:hover {
        color: var(--ink);
    }

    .back-to-top:hover {
        border-color: var(--accent);
        color: var(--accent);
    }
}

/* Header */

.site-header {
    padding-top: 28px;
}

.site-header__inner {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.site-header__actions {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 18px;
}

.site-header__timule img {
    width: 170px;
    height: auto;
}

.site-header__legacy img {
    display: block;
    width: 118px;
    max-height: 44px;
    object-fit: contain;
    object-position: right center;
}

.language-selector {
    display: inline-flex;
    min-width: 0;
    align-items: center;
}

.language-selector__icon {
    display: none;
}

.language-selector select {
    min-height: 36px;
    max-width: 100%;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
}

.site-header__brand img {
    width: 150px;
    height: auto;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-header__nav a {
    color: var(--muted);
    font-size: 14px;
    transition: color 160ms ease;
}

.site-header__nav a[aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
}

/* Timule landing page */

.hero {
    padding: clamp(90px, 10vw, 140px) 0 clamp(105px, 11vw, 150px);
}

.hero__grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    align-items: center;
    gap: clamp(48px, 7vw, 100px);
}

.hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(50px, 4.8vw, 68px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.hero__title>span {
    display: block;
    white-space: nowrap;
}

.i18n-line {
    display: block;
    text-wrap: balance;
}

html[lang^="ko"] .hero__title,
html[lang^="ja"] .hero__title {
    font-size: clamp(48px, 4.3vw, 60px);
}

html[lang^="ko"] :is(h1, h2, h3, p, li, summary, label, button, .section-description, .story-heading__support, .ar-heading__support) {
    hyphens: none;
    overflow-wrap: normal;
    word-break: keep-all;
}

html[lang^="ko"] a[href^="mailto:"] {
    overflow-wrap: anywhere;
    word-break: break-word;
}

html[lang^="ja"] :is(h1, h2, h3, p, li, summary, label, button, .section-description, .story-heading__support, .ar-heading__support) {
    hyphens: none;
    line-break: strict;
    overflow-wrap: normal;
    word-break: normal;
}

html[lang^="ja"] a[href^="mailto:"] {
    overflow-wrap: anywhere;
    word-break: break-word;
}

html[lang^="es"] .hero__title,
html[lang^="it"] .hero__title {
    font-size: clamp(42px, 3.85vw, 54px);
}

html[lang^="ar"] .hero__title {
    font-size: clamp(46px, 4.15vw, 58px);
}

.hero__intro {
    margin: clamp(28px, 3vw, 42px) 0 0;
    color: var(--muted);
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.55;
}

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

.hero-visual__map {
    position: absolute;
    top: 9%;
    right: 0;
    width: 94%;
    height: 82%;
    border-radius: 32px;
    opacity: 0.24;
    object-fit: cover;
    filter: saturate(0.78) contrast(1);
    pointer-events: none;
}

.hero-visual__memory,
.hero-visual__ar,
.hero-visual__timeline {
    position: absolute;
}

.hero-visual__memory {
    top: 2%;
    left: 8%;
    z-index: 2;
    width: 45%;
}

.hero-visual__ar {
    top: 10%;
    right: 1%;
    z-index: 3;
    width: 31%;
}

.hero-visual__timeline {
    right: 9%;
    bottom: 5%;
    z-index: 4;
    width: 54%;
}

.story-section {
    padding: clamp(82px, 9vw, 118px) 0;
    border-top: 1px solid var(--line);
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(70px, 8vw, 120px);
}

.section-copy {
    min-width: 0;
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 30px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.section-eyebrow>span[aria-hidden="true"] {
    display: block;
    width: 34px;
    height: 1px;
    background: currentColor;
}

.section-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(40px, 3.7vw, 54px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

html[lang^="ko"] .section-title,
html[lang^="ja"] .section-title {
    font-size: clamp(40px, 3.35vw, 48px);
    line-height: 1.12;
}

html[lang^="ar"] .section-title {
    font-size: clamp(42px, 3.5vw, 50px);
    line-height: 1.15;
}

html[dir="rtl"] .section-eyebrow [data-i18n$=".eyebrow"] {
    direction: ltr;
    unicode-bidi: isolate;
}

html[dir="rtl"] .hero-visual,
html[dir="rtl"] .section-visual,
html[dir="rtl"] .profile-panel,
html[dir="rtl"] .ar-gallery {
    direction: ltr;
}

.section-description {
    max-width: 470px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.6;
}

.section-description--wide {
    max-width: 520px;
}

.section-grid--memory {
    grid-template-areas: "visual copy";
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 64px;
}

.section-grid--memory .section-visual {
    grid-area: visual;
}

.section-grid--memory .section-copy {
    grid-area: copy;
}

.section-visual--memory,
.section-visual--revisit,
.section-visual--journey {
    display: flex;
    justify-content: center;
}

.feature-shot--memory {
    width: min(100%, 480px);
    aspect-ratio: 0.61;
    object-fit: cover;
    object-position: top;
}

.feature-shot--revisit {
    width: min(100%, 460px);
}

.section-visual--journey {
    padding: 22px;
    border-radius: 30px;
    background: var(--paper-soft);
}

.feature-shot--journey {
    width: min(100%, 500px);
}

.story-section--profile,
.story-section--ar {
    padding-bottom: clamp(78px, 8vw, 105px);
}

.story-heading,
.ar-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: end;
    gap: 60px;
}

.story-heading {
    margin-bottom: clamp(54px, 6vw, 78px);
}

.ar-heading {
    margin-bottom: clamp(46px, 5vw, 64px);
}

.section-title--story {
    max-width: 690px;
}

.story-heading__support,
.ar-heading__support {
    justify-self: end;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.story-heading__support {
    max-width: 360px;
    margin: 0 0 8px;
}

.ar-heading__support {
    max-width: 390px;
    margin: 0 0 6px;
}

.profile-panel {
    display: flex;
    width: min(100%, 900px);
    min-height: 0;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    padding: 32px;
    border-radius: 34px;
    background: var(--paper-deep);
}

.profile-panel__image {
    width: min(100%, 500px);
    border-radius: var(--image-radius);
    box-shadow: var(--shadow-soft);
}

.ar-gallery {
    display: grid;
    grid-template-columns: minmax(185px, 0.56fr) minmax(0, 2fr);
    align-items: start;
    gap: 18px;
}

.ar-gallery img {
    width: 100%;
    height: auto;
    border-radius: var(--image-radius);
    object-fit: contain;
}

.ar-gallery__placement,
.ar-gallery__discovery {
    min-height: 0;
}

/* Closing CTA */

.closing-section {
    padding: clamp(82px, 8vw, 108px) 0 clamp(72px, 7vw, 94px);
    border-top: 1px solid var(--line);
}

.closing-section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.closing-section__wordmark {
    width: clamp(130px, 13vw, 185px);
    height: auto;
    margin-bottom: 18px;
}

.closing-section__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.closing-section__copy {
    margin: 22px 0 28px;
    color: var(--muted);
    font-size: 17px;
}

.launch-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Footer */

.site-footer {
    padding-bottom: 28px;
}

.site-footer__main {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) max-content;
    align-items: start;
    gap: clamp(24px, 3vw, 48px);
    padding: 34px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.site-footer__identity img {
    width: 150px;
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
}

.site-footer__identity p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.site-footer__nav {
    display: flex;
    width: max-content;
    max-width: none;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
}

.site-footer__nav a {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
    transition: color 160ms ease;
}

.site-footer__legal {
    padding-top: 18px;
}

.site-footer__legal p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.company-disclosure {
    margin-top: 28px;
    padding-top: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.company-disclosure p {
    margin: 0;
}

.company-disclosure p+p {
    margin-top: 3px;
}

.company-disclosure a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.company-disclosure--compact {
    margin-top: 20px;
    padding-top: 0;
}

/* Dialog and forms */

.waitlist-dialog {
    width: min(90vw, 480px);
    padding: 0;
    border: 0;
    border-radius: 26px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 30px 100px rgba(20, 15, 12, 0.24);
}

.waitlist-dialog::backdrop {
    background: rgba(25, 20, 17, 0.44);
    backdrop-filter: blur(5px);
}

.waitlist-dialog__content {
    position: relative;
    padding: 48px 42px 44px;
    text-align: center;
}

.waitlist-dialog__close {
    position: absolute;
    top: 16px;
    inset-inline-end: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.waitlist-dialog__wordmark {
    width: 130px;
    margin: 0 auto 26px;
}

.waitlist-dialog h2 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 400;
    line-height: 1.1;
}

.waitlist-dialog p {
    margin: 0;
    color: var(--muted);
}

.waitlist-form {
    margin-top: 24px;
    text-align: start;
}

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

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

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label,
.form-label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea,
.waitlist-form input {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.56);
    color: var(--ink);
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.waitlist-form input:focus {
    border-color: var(--legacy-blue);
    outline: 3px solid rgba(88, 117, 156, 0.18);
    outline-offset: 1px;
}

.form-help {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 26px;
}

.waitlist-form .button {
    width: 100%;
    max-width: none;
    margin-top: 14px;
}

.form-status {
    min-height: 1.5em;
    margin: 14px 0 0 !important;
    color: var(--muted);
    font-size: 13px;
}

.form-status[data-state="error"] {
    color: var(--danger);
}

.form-status[data-state="success"] {
    color: var(--success);
}

html[dir="rtl"] .form-field,
html[dir="rtl"] .form-help,
html[dir="rtl"] .form-status,
html[dir="rtl"] .waitlist-form {
    text-align: start;
}

html[dir="rtl"] .form-field input:not([type="email"]):not([type="url"]):not([type="tel"]):not([type="password"]):not([dir="auto"]),
html[dir="rtl"] .form-field select,
html[dir="rtl"] .form-field textarea {
    direction: rtl;
    text-align: start;
}

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="url"] {
    direction: ltr;
    text-align: left;
}

/* Practical content pages */

.page-main {
    min-height: 58vh;
}

.page-hero {
    padding: clamp(64px, 6vw, 84px) 0 clamp(44px, 5vw, 64px);
}

.page-hero--compact {
    padding-bottom: 40px;
}

.context-nav {
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 13px;
}

.context-nav ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.context-nav li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.context-nav li+li::before {
    color: var(--muted-light);
    content: "/";
}

.context-nav a {
    color: var(--legacy-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.context-nav [aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
}

.context-nav__phone-label {
    display: none;
}

.context-nav__phone-label::before {
    margin-inline-end: 0.35em;
    content: "\2190";
}

html[dir="rtl"] .context-nav__phone-label::before {
    content: "\2192";
}

.page-hero__eyebrow {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.page-hero__intro {
    max-width: 700px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.6;
}

.content-section {
    padding: 0 0 clamp(72px, 9vw, 112px);
}

.content-shell {
    width: min(100%, var(--reading-width));
}

.content-panel {
    padding: clamp(26px, 4vw, 46px);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.28);
}

.content-panel .form-status:empty {
    min-height: 0;
    margin-top: 0 !important;
}

.form-intro {
    margin: 0 0 8px;
    color: var(--muted);
}

.form-security {
    margin: 0 0 28px;
    color: var(--muted);
}

.prose> :first-child {
    margin-top: 0;
}

.prose> :last-child {
    margin-bottom: 0;
}

.prose h2 {
    margin: 42px 0 14px;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.prose h3 {
    margin: 30px 0 10px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.prose p,
.prose li {
    color: var(--muted);
}

.prose ul,
.prose ol {
    padding-inline-start: 1.3em;
}

.prose li+li {
    margin-top: 8px;
}

.prose [id] {
    scroll-margin-top: 24px;
}

.policy-summary {
    margin: 28px 0 34px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper-soft);
}

.prose .policy-summary h2,
.prose .policy-contents h2 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.policy-summary ul {
    margin: 0;
}

.policy-summary__note {
    margin: 16px 0 0;
    font-size: 14px;
}

.policy-contents {
    margin: 0 0 38px;
    padding: 0 0 32px;
    border-bottom: 1px solid var(--line);
}

.policy-contents ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 28px;
    margin: 0;
}

.policy-contents li {
    margin: 0;
}

.policy-contents a {
    color: var(--legacy-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

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

.support-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.30);
}

.support-card--topic>summary {
    list-style: none;
}

.support-card--topic>summary::-webkit-details-marker {
    display: none;
}

.support-card--topic>summary::marker {
    content: "";
}

.support-card--topic>summary h2 {
    margin-bottom: 16px;
}

.support-card__content> :first-child {
    margin-top: 0;
}

.support-card__media-layout {
    display: block;
}

.support-card__copy> :first-child,
.support-screenshot> :first-child {
    margin-top: 0;
}

.support-screenshot {
    width: min(100%, 160px);
    margin: 22px auto 0;
}

.support-screenshot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper-soft);
    box-shadow: 0 12px 28px rgba(60, 48, 39, 0.10);
}

.support-card h2 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.support-card h3 {
    margin: 18px 0 7px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.support-card p,
.support-card li {
    color: var(--muted);
}

.support-card p {
    margin-top: 0;
    margin-bottom: 12px;
}

.support-card ul,
.support-card ol {
    margin: 8px 0 14px;
    padding-inline-start: 22px;
}

.support-card li {
    padding-inline-start: 2px;
}

.support-card li+li {
    margin-top: 6px;
}

.support-card p:last-child,
.support-card ul:last-child,
.support-card ol:last-child {
    margin-bottom: 0;
}

.support-card--wide {
    grid-column: 1 / -1;
}

.notice {
    padding: 18px 20px;
    border-inline-start: 4px solid var(--accent);
    border-start-start-radius: 0;
    border-start-end-radius: 12px;
    border-end-end-radius: 12px;
    border-end-start-radius: 0;
    background: var(--accent-pale);
}

.notice p {
    margin: 0;
    color: var(--ink);
}

.deletion-steps {
    margin-block: 22px;
    padding: 0;
    counter-reset: deletion-step;
    list-style: none;
}

.deletion-steps li {
    position: relative;
    min-height: 34px;
    padding-inline-start: 46px;
    counter-increment: deletion-step;
}

.deletion-steps li::before {
    position: absolute;
    top: -2px;
    inset-inline-start: 0;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-pale);
    color: var(--accent-dark);
    content: counter(deletion-step);
    font-size: 13px;
    font-weight: 700;
}

.deletion-impact-list {
    margin-bottom: 18px;
}

.draft-banner,
.review-banner {
    margin-bottom: 30px;
    padding: 18px 20px;
    border: 1px solid rgba(166, 60, 45, 0.28);
    border-radius: 14px;
    background: rgba(244, 223, 214, 0.72);
}

.draft-banner strong,
.review-banner strong {
    display: block;
    margin-bottom: 4px;
    color: var(--danger);
}

.draft-banner p,
.review-banner p {
    margin: 0;
    color: var(--ink);
}

.review-banner {
    border-color: rgba(75, 96, 137, 0.25);
    background: rgba(231, 235, 243, 0.72);
}

.review-banner strong {
    color: var(--legacy-blue);
}

.translation-status {
    margin: -12px 0 26px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

html[lang="en-GB"] .translation-status {
    display: none;
}

.policy-document>section+section {
    margin-top: 38px;
}

.policy-document h2 {
    font-variant-numeric: tabular-nums;
}

.meta-line {
    color: var(--muted);
    font-size: 13px;
}

/* Legacy Lab homepage */

html.legacy-page {
    background: var(--paper);
}

.legacy-page .legacy-site-header {
    position: absolute;
    z-index: 60;
    inset: 0 0 auto;
    padding: clamp(16px, 2.2vw, 28px) 0 18px;
    background: linear-gradient(180deg, rgba(12, 14, 16, 0.62) 0%, rgba(12, 14, 16, 0.2) 72%, transparent 100%);
    color: var(--white);
}

.legacy-page .legacy-site-header .site-header__inner {
    min-height: 62px;
    border-bottom-color: rgba(255, 255, 255, 0.24);
}

.legacy-page .legacy-site-header .site-header__brand img {
    filter: brightness(0) invert(1);
}

.legacy-page .legacy-site-header .site-header__nav a {
    color: rgba(255, 255, 255, 0.84);
}

.legacy-page .legacy-site-header .site-header__nav a:hover,
.legacy-page .legacy-site-header .site-header__nav a:focus-visible {
    color: var(--white);
}

.legacy-page .legacy-site-header .language-selector {
    position: relative;
    min-width: 124px;
    min-height: 44px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 11px;
    background: rgba(12, 14, 16, 0.22);
    color: var(--white);
}

.legacy-page .legacy-site-header .language-selector::after {
    position: absolute;
    top: 50%;
    inset-inline-end: 15px;
    width: 7px;
    height: 7px;
    border-inline-end: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    opacity: 0.76;
    pointer-events: none;
    transform: translateY(-68%) rotate(45deg);
}

.legacy-page .legacy-site-header .language-selector:focus-within {
    outline: 2px solid rgba(255, 255, 255, 0.92);
    outline-offset: 3px;
}

.legacy-page .legacy-site-header .language-selector select {
    width: 100%;
    min-height: 44px;
    padding-inline: 14px 38px;
    border: 0;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    color: var(--white);
    line-height: 1.2;
}

.legacy-page .legacy-site-header .language-selector option {
    background: var(--paper);
    color: var(--ink);
}

.legacy-story {
    overflow-x: clip;
    background: var(--paper);
}

.legacy-section {
    position: relative;
    width: 100%;
}

.legacy-section__content {
    width: min(560px, calc(100% - 96px));
}

.legacy-eyebrow {
    margin: 0 0 clamp(16px, calc(13px + 0.75vw), 22px);
    color: var(--legacy-blue);
    font-size: clamp(13px, calc(12.6px + 0.1vw), 14px);
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.25;
    text-transform: uppercase;
}

.legacy-copy-line {
    display: block;
}

.legacy-copy-authored-group {
    display: block;
}

.legacy-sentence-line {
    display: block;
}

/* Legacy Lab — Korean authored line breaks */
html[lang^="ko"] .legacy-copy-authored-group[data-i18n="legacyLab.vision.body3"],
html[lang^="ko"] .legacy-section--manifesto [data-i18n="legacyLab.about.body1"],
html[lang^="ko"] .legacy-section--product .legacy-body[data-i18n="legacyLab.products.body"],
html[lang^="ko"] .legacy-community__item--partnerships .legacy-body[data-i18n="legacyLab.partnerships.body"],
html[lang^="ko"] .legacy-community__item--careers .legacy-body[data-i18n="legacyLab.careers.body"],
html[lang^="ko"] .legacy-closing__body[data-i18n="legacyLab.contact.body"] {
    white-space: pre-line;
}

/* Korean Who We Are — keep the final two phrases on one line */
html[lang^="ko"] .legacy-section--manifesto [data-i18n="legacyLab.about.emphasis"],
html[lang^="ko"] .legacy-section--manifesto [data-i18n="legacyLab.about.body2"] {
    display: inline;
}

html[lang^="ko"] .legacy-section--manifesto [data-i18n="legacyLab.about.emphasis"]::after {
    content: " ";
}

.brand-name {
    color: inherit;
    font-weight: 700;
}

.legacy-title {
    margin: 0;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1.03;
    text-wrap: balance;
}

.legacy-title--hero {
    max-width: 900px;
    font-size: clamp(50px, calc(31px + 4.75vw), 112px);
    letter-spacing: -0.065em;
    line-height: 0.96;
}

.legacy-title--split {
    font-size: clamp(42px, calc(32px + 2.5vw), 64px);
    line-height: 1.04;
}

.legacy-title--manifesto {
    font-size: clamp(48px, calc(32px + 4vw), 94px);
    line-height: 1;
}

.legacy-title--editorial {
    font-size: clamp(36px, calc(31px + 1.25vw), 54px);
    line-height: 1.04;
}

.legacy-title--closing {
    font-size: clamp(44px, calc(29px + 3.75vw), 82px);
    line-height: 1.04;
}

.legacy-body {
    max-width: 680px;
    margin: clamp(24px, calc(20px + 0.7vw), 28px) 0 0;
    color: var(--muted);
    font-size: clamp(16px, calc(15px + 0.25vw), 19px);
    line-height: 1.65;
    text-wrap: pretty;
}

.legacy-body--hero {
    max-width: 840px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, calc(15px + 0.5vw), 22px);
    line-height: 1.55;
}

.legacy-section--product .legacy-body {
    font-size: clamp(16px, calc(15.2px + 0.2vw), 17.5px);
}

.legacy-section--product .legacy-title--split {
    font-size: clamp(42px, calc(34px + 1.8vw), 58px);
}

html:not([lang^="ko"]):not([lang^="ja"]) .legacy-story :is(.legacy-title, .legacy-body, .legacy-closing__body) {
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

html[lang^="ko"] .legacy-story :is(.legacy-title, .legacy-body, .legacy-closing__body) {
    hyphens: none;
    overflow-wrap: normal;
    word-break: keep-all;
}

html[lang^="ja"] .legacy-story :is(.legacy-title, .legacy-body, .legacy-closing__body) {
    hyphens: none;
    line-break: strict;
    overflow-wrap: normal;
    word-break: normal;
}

html[lang^="ko"] .legacy-title--split,
html[lang^="ja"] .legacy-title--split,
html[lang^="ar"] .legacy-title--split,
html[lang^="ko"] .legacy-title--editorial,
html[lang^="ja"] .legacy-title--editorial,
html[lang^="ar"] .legacy-title--editorial {
    font-size: clamp(36px, calc(30px + 1.7vw), 56px);
    line-height: 1.12;
}

html[lang^="ko"] .legacy-title--hero,
html[lang^="ja"] .legacy-title--hero,
html[lang^="ar"] .legacy-title--hero {
    font-size: clamp(42px, calc(26px + 4vw), 90px);
    line-height: 1.06;
}

html[lang^="ko"] .legacy-title--manifesto,
html[lang^="ja"] .legacy-title--manifesto,
html[lang^="ar"] .legacy-title--manifesto {
    font-size: clamp(42px, calc(27px + 3.75vw), 78px);
    line-height: 1.1;
}

.legacy-body--stacked p {
    margin: 0;
}

.legacy-body--stacked p+p {
    margin-top: 18px;
}

.legacy-statement {
    margin-top: 30px !important;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.44);
    color: var(--white);
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.legacy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.legacy-quiet-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    border-bottom: 1px solid currentColor;
    color: var(--legacy-blue);
    font-weight: 600;
}

.legacy-section--hero,
.legacy-section--manifesto {
    isolation: isolate;
    display: grid;
    overflow: hidden;
    place-items: center;
    background-color: #1b1b1b;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
}

.legacy-section--hero::before,
.legacy-section--manifesto::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    pointer-events: none;
}

.legacy-section--hero {
    min-height: 100vh;
    background-image: url("../images/legacy-lab/story/legacy-lab-hero-traffic.jpg");
    background-position: 50% 52%;
}

.legacy-section--hero::before {
    background: linear-gradient(rgba(12, 14, 16, 0.44), rgba(12, 14, 16, 0.62));
}

.legacy-section__content--hero {
    width: min(900px, calc(100% - clamp(40px, 5.55vw, 80px)));
    padding-block: clamp(124px, 18vh, 176px) clamp(64px, 10vh, 112px);
    text-align: center;
}

.legacy-section--hero .legacy-eyebrow,
.legacy-section--manifesto .legacy-eyebrow {
    color: rgba(255, 255, 255, 0.86);
}

.legacy-section--hero .legacy-eyebrow {
    font-size: clamp(0.95rem, 1.05vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 0.16em;
}

.legacy-section--hero .legacy-title,
.legacy-section--manifesto .legacy-title {
    color: var(--white);
}

.legacy-section--split {
    display: grid;
    min-height: clamp(680px, 88vh, 900px);
    background: var(--paper-soft);
}

.legacy-section--vision {
    grid-template-columns: minmax(0, 52fr) minmax(672px, 48fr);
}

.legacy-section--product {
    grid-template-columns: minmax(672px, 48fr) minmax(0, 52fr);
}

.legacy-section--vision .legacy-section__content,
.legacy-section--product .legacy-section__content {
    width: min(650px, calc(100% - 32px));
}

.legacy-split__media {
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
}

.legacy-split__media img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.legacy-section--vision .legacy-split__media img {
    object-position: 50% 56%;
}

.legacy-section--product .legacy-split__media img {
    object-position: 58% 60%;
}

.legacy-split__copy {
    display: grid;
    place-items: center;
    background: var(--paper-soft);
}

.legacy-split__copy .legacy-section__content {
    padding-block: clamp(88px, 11vh, 124px);
}

.legacy-section--manifesto {
    min-height: 94vh;
    background-image: url("../images/legacy-lab/story/legacy-lab-dpt-whoweare.jpg");
    background-position: 50% 50%;
}

.legacy-section--manifesto::before {
    background: linear-gradient(rgba(8, 14, 20, 0.67), rgba(8, 14, 20, 0.84));
}

.legacy-section__content--manifesto {
    width: min(840px, calc(100% - clamp(40px, 5.55vw, 80px)));
    padding-block: clamp(104px, 15vh, 156px);
    text-align: center;
}

.legacy-section--manifesto .legacy-body {
    max-width: 840px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.9);
}

.legacy-section--community {
    padding: clamp(76px, 10vw, 150px) clamp(20px, 4vw, 40px) clamp(88px, 10vw, 150px);
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.legacy-community__grid {
    display: grid;
    width: min(1180px, 100%);
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(36px, 5vw, 72px);
}

.legacy-community__item {
    min-width: 0;
}

.legacy-community__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.legacy-community__item--partnerships .legacy-community__image {
    object-position: 20% 64%;
}

.legacy-community__item--careers .legacy-community__image {
    object-position: 50% 48%;
}

.legacy-community__copy {
    padding-top: clamp(26px, 3vw, 34px);
}

.legacy-community__copy .legacy-body {
    max-width: 520px;
}

.legacy-community__item--partnerships .legacy-body {
    max-width: 520px;
}

/* Partnerships — allow the sentence to use the available width */
.legacy-community__item--partnerships .legacy-body {
    max-width: none;
    width: 100%;
}

.legacy-community__item--careers .legacy-body {
    max-width: 550px;
}

.legacy-section--closing {
    display: grid;
    min-height: clamp(620px, 80vh, 900px);
    place-items: center;
    border-top: 1px solid var(--line);
    background: var(--paper-soft);
}

.legacy-closing__content {
    width: min(900px, calc(100% - clamp(40px, 5.55vw, 80px)));
    padding-block: clamp(84px, 12vh, 140px);
    text-align: center;
}

.legacy-closing__content>img {
    width: min(100%, clamp(200px, 20vw, 250px));
    margin: 0 auto clamp(36px, 3.35vw, 48px);
}

.legacy-section--closing .legacy-eyebrow {
    color: var(--legacy-blue);
}

.legacy-closing__body {
    max-width: 620px;
    margin: clamp(24px, 2.5vw, 30px) auto 32px;
    color: var(--muted);
    font-size: clamp(16px, calc(14.5px + 0.35vw), 19px);
    line-height: 1.65;
    text-wrap: pretty;
}

@supports (height: 100svh) {
    .legacy-section--hero {
        min-height: 100svh;
    }

    .legacy-section--manifesto {
        min-height: 94svh;
    }
}

@media (max-width: 1079px) {
    .legacy-section--split {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .legacy-split__media {
        min-height: 0;
        height: clamp(300px, 50svh, 600px);
    }

    .legacy-section--vision .legacy-split__media img {
        object-position: 50% 55%;
    }

    .legacy-section--product .legacy-split__media img {
        object-position: 56% 62%;
    }

    .legacy-split__copy .legacy-section__content {
        width: min(640px, calc(100% - 40px));
        padding-block: clamp(64px, 8vw, 88px) clamp(72px, 9vw, 96px);
    }

    .legacy-section--manifesto {
        min-height: 88svh;
    }

}

@media (max-width: 1199px) {
    .legacy-community__grid {
        grid-template-columns: 1fr;
        gap: clamp(64px, 8vw, 72px);
    }
}

@media (max-width: 720px) {
    .legacy-page .legacy-site-header {
        padding: 8px 0 14px;
    }

    .legacy-page .legacy-site-header .site-header__inner {
        min-height: 68px;
    }

    .legacy-page .legacy-site-header .site-header__brand img {
        width: 126px;
    }

    .legacy-section--hero {
        background-position: 50% 50%;
    }

    .legacy-section--vision .legacy-split__media img {
        object-position: 48% 54%;
    }

    .legacy-section--product .legacy-split__media img {
        object-position: 60% 64%;
    }

    .legacy-section--manifesto {
        background-position: 50% 50%;
    }

    .legacy-community__item--partnerships .legacy-community__image {
        object-position: 18% 64%;
    }

    .legacy-community__item--careers .legacy-community__image {
        object-position: 50% 48%;
    }

}

.contact-email-line {
    margin: 30px 0 0;
    color: var(--muted);
}

.contact-email-line a {
    color: var(--legacy-blue);
}

.safety-guide section+section {
    margin-top: 38px;
}

.safety-warning {
    color: var(--accent) !important;
    font-weight: 700;
}

.safety-principle {
    margin-top: 44px;
}

.safety-principle h2 {
    margin-top: 0;
    color: var(--accent);
    font-weight: 700;
}

html[lang^="en"] .safety-principle h2 {
    text-transform: uppercase;
}

.share-memory-page {
    display: grid;
    min-height: 66vh;
    place-items: center;
    padding: clamp(64px, 9vw, 120px) 0;
}

.share-memory-card {
    max-width: 760px;
    text-align: center;
}

.share-memory-card__wordmark {
    width: min(100%, 210px);
    margin: 0 auto 42px;
}

.share-memory-card .section-eyebrow {
    justify-content: center;
}

.share-memory-card h1 {
    margin: 0;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.share-memory-card__lead {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 21px;
}

.share-memory-card__install {
    margin: 44px 0 28px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--paper-deep);
}

.share-memory-card__install h2 {
    margin: 0 0 12px;
}

.share-memory-card__privacy {
    color: var(--muted);
    font-size: 14px;
}

.language-selector--status {
    align-self: flex-end;
    margin-bottom: 26px;
}

/* Status pages */

.status-page {
    display: grid;
    min-height: 72vh;
    place-items: center;
    padding: 60px 0;
}

.status-page__inner {
    max-width: 650px;
    text-align: center;
}

.status-page__wordmark {
    width: 170px;
    margin: 0 auto 34px;
}

.status-page h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.status-page p {
    margin: 22px auto 30px;
    color: var(--muted);
    font-size: 18px;
}

/* Reveal motion */

html.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Desktop composition refinements */

@media (min-width: 1025px) {
    html[lang^="ko"] .hero__title {
        line-height: 1.18;
    }

    #journeys .section-description--wide {
        max-width: none;
        white-space: nowrap;
    }

    #your-story .story-heading__support .i18n-line {
        display: inline;
    }

    #your-story .story-heading__support .i18n-line+.i18n-line::before {
        content: " ";
    }

    #your-story .story-heading {
        grid-template-columns: minmax(0, 1fr) max-content;
        gap: 40px;
    }

    #your-story .story-heading__support {
        max-width: none;
    }

    html[lang^="en"] #your-story .story-heading__support,
    html[lang^="ko"] #your-story .story-heading__support {
        white-space: nowrap;
    }

    html[lang^="ko"] #your-story .story-heading__support {
        font-size: 16px;
    }

    .closing-section__wordmark {
        margin-bottom: 30px;
    }

    html[lang^="en"] body[data-i18n-page="safety"] .page-hero__intro,
    html[lang^="en"] body[data-i18n-page="deleteAccount"] .page-hero__intro {
        max-width: none;
        white-space: nowrap;
    }

    html[lang^="en"] body[data-i18n-page="safety"] .safety-warning,
    html[lang^="en"] body[data-i18n-page="safety"] .safety-principle h2,
    html[lang^="ko"] body[data-i18n-page="safety"] .safety-warning,
    html[lang^="ko"] body[data-i18n-page="safety"] .safety-principle h2,
    html[lang^="ja"] body[data-i18n-page="safety"] .safety-warning,
    html[lang^="ja"] body[data-i18n-page="safety"] .safety-principle h2 {
        white-space: nowrap;
    }

    html[lang^="ja"] body[data-i18n-page="safety"] .safety-principle h2 {
        font-size: 21px;
        letter-spacing: 0;
    }

    .support-card__media-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 150px;
        align-items: start;
        gap: 24px;
    }

    .support-screenshot {
        width: 150px;
        margin: 0;
    }

    #revisit .section-grid {
        grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
        gap: 72px;
    }

    #revisit .section-title {
        max-width: 640px;
        font-size: 58px;
    }

    #revisit .section-description {
        max-width: 540px;
    }

    #journeys .section-grid {
        grid-template-areas: "visual copy";
        grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
        gap: 72px;
    }

    #journeys .section-visual {
        grid-area: visual;
    }

    #journeys .section-copy {
        grid-area: copy;
    }

    #journeys .feature-shot--journey {
        width: min(100%, 420px);
    }

    #your-story .story-heading,
    #ar .ar-heading {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-bottom: 46px;
    }

    #your-story .story-heading>div,
    #ar .ar-heading>div {
        width: 100%;
    }

    #your-story .section-title--story,
    #ar .section-title {
        max-width: none;
        margin: 0;
        font-size: clamp(38px, 3.8vw, 48px);
        text-wrap: balance;
    }

    #your-story .story-heading__support,
    #ar .ar-heading__support {
        align-self: flex-start;
        justify-self: auto;
        max-width: none;
        margin: 10px 0 0 22px;
        font-size: 17px;
        text-wrap: pretty;
    }

    .ar-gallery {
        grid-template-columns: 230px minmax(0, 1fr);
        align-items: stretch;
    }

    .ar-gallery img {
        width: 100%;
        height: 380px;
        border-radius: var(--image-radius);
        object-fit: cover;
    }

    .ar-gallery__discovery {
        object-position: 0% center;
    }

    .site-footer__nav {
        gap: 0;
    }

    .site-footer__nav a {
        padding-inline: clamp(10px, 1.1vw, 16px);
        font-size: clamp(12.5px, 1.05vw, 14px);
    }

    .site-footer__nav a:first-child {
        padding-inline-start: 0;
    }

    .site-footer__nav a:last-child {
        padding-inline-end: 0;
    }

    .site-footer__nav a+a {
        border-inline-start: 1px solid var(--line);
    }
}

/* Tablet: 721px to 1024px */

@media (min-width: 721px) and (max-width: 1024px) {
    .site-container {
        width: min(calc(100% - 64px), var(--page-width));
    }

    .site-header__timule img {
        width: 150px;
    }

    .site-header__legacy img {
        width: 108px;
    }

    .support-card__media-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 140px;
        align-items: start;
        gap: 24px;
    }

    .support-screenshot {
        width: 140px;
        margin: 0;
    }

    .support-card--account,
    .support-card--safety {
        grid-column: 1 / -1;
    }

    .hero {
        padding: 76px 0 90px;
    }

    .hero__grid {
        grid-template-columns: 0.92fr 1.08fr;
        gap: 42px;
    }

    .hero__title {
        font-size: clamp(48px, 6.6vw, 64px);
        line-height: 1.09;
    }

    html[lang^="ko"] .hero__title,
    html[lang^="ja"] .hero__title {
        font-size: 46px;
    }

    html[lang^="es"] .hero__title {
        font-size: 34px;
    }

    html[lang^="it"] .hero__title {
        font-size: 35px;
    }

    html[lang^="ar"] .hero__title {
        font-size: 44px;
    }

    .hero-visual {
        min-height: 450px;
    }

    .story-section {
        padding: 78px 0;
    }

    .section-grid {
        gap: 56px;
    }

    .section-title,
    #your-story .section-title--story,
    #ar .section-title {
        font-size: 38px;
        line-height: 1.08;
        letter-spacing: -0.04em;
    }

    html[lang^="ko"] .section-title,
    html[lang^="ja"] .section-title {
        font-size: 34px;
        line-height: 1.12;
    }

    html[lang^="ar"] .section-title {
        font-size: 36px;
        line-height: 1.15;
    }

    #journeys .section-grid {
        grid-template-areas: "visual copy";
        grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
        gap: 48px;
    }

    #journeys .section-visual {
        grid-area: visual;
    }

    #journeys .section-copy {
        grid-area: copy;
    }

    #journeys .section-title {
        font-size: 36px;
    }

    #journeys .section-visual--journey {
        padding: 16px;
    }

    #journeys .feature-shot--journey {
        width: min(100%, 300px);
    }

    #your-story .story-heading,
    #ar .ar-heading {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-bottom: 36px;
    }

    #your-story .story-heading>div,
    #ar .ar-heading>div {
        width: 100%;
    }

    #your-story .section-title--story,
    #ar .section-title {
        max-width: none;
        margin: 0;
        white-space: normal;
    }

    #your-story .story-heading__support,
    #ar .ar-heading__support {
        align-self: flex-start;
        justify-self: auto;
        max-width: none;
        margin: 10px 0 0 22px;
        font-size: 16px;
    }

    #your-story .profile-panel {
        min-height: 0;
        padding: 30px;
    }

    .profile-panel__image {
        width: min(100%, 520px);
    }

    .ar-gallery {
        grid-template-columns: 190px minmax(0, 1fr);
        align-items: stretch;
        gap: 18px;
    }

    .ar-gallery__placement {
        order: 1;
        object-position: center;
    }

    .ar-gallery__discovery {
        order: 2;
        object-position: 0% center;
    }

    .ar-gallery img {
        width: 100%;
        height: 280px;
        border-radius: var(--image-radius);
        object-fit: cover;
    }

    .site-footer__main {
        grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    }

    .site-footer__nav {
        display: grid;
        grid-template-columns: repeat(3, max-content);
        width: auto;
        justify-content: end;
        gap: 12px 28px;
    }

    .legacy-page .site-footer__nav {
        grid-template-columns: repeat(4, max-content);
    }

    .page-hero {
        padding: 30px 0 40px;
    }

    .page-hero--compact {
        padding-bottom: 32px;
    }

    .page-hero__intro {
        margin-top: 18px;
    }

    .prose h2 {
        margin-top: 36px;
    }

    .legacy-site-header .site-header__brand img {
        width: 132px;
    }

    .legacy-site-header .site-header__actions {
        gap: 12px;
    }

    .legacy-site-header .site-header__nav {
        gap: 14px;
    }

    .legacy-site-header .site-header__nav a {
        font-size: 12px;
    }

    .legacy-site-header .language-selector select {
        font-size: 12px;
    }

    .product-card {
        padding: 32px;
    }
}

/* Phone: up to 720px */

@media (max-width: 720px) {
    .site-container {
        width: calc(100% - 40px);
    }

    .desktop-only {
        display: none;
    }

    .back-to-top {
        inset-inline-end: calc(16px + env(safe-area-inset-right));
        bottom: calc(16px + env(safe-area-inset-bottom));
        width: 42px;
        height: 42px;
    }

    html[dir="rtl"] .back-to-top {
        inset-inline-end: calc(16px + env(safe-area-inset-left));
    }

    .phone-only {
        display: block;
    }

    .site-header {
        padding-top: 8px;
    }

    .site-header__inner {
        min-height: 68px;
    }

    .site-header__timule img {
        width: 150px;
    }

    .site-header__legacy img {
        width: 100px;
    }

    .site-header__actions {
        gap: 9px;
    }

    .language-selector {
        position: relative;
        display: grid;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--paper);
        color: var(--ink);
    }

    .language-selector:focus-within {
        outline: 3px solid var(--legacy-blue);
        outline-offset: 3px;
    }

    .language-selector__icon {
        display: grid;
        place-items: center;
        pointer-events: none;
    }

    .language-selector__icon svg {
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.6;
    }

    .language-selector select {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 44px;
        padding: 0;
        border: 0;
        opacity: 0;
    }

    .language-selector select:focus-visible {
        outline: 0;
    }

    .legacy-page .legacy-site-header .language-selector {
        min-width: 44px;
        min-height: 44px;
        overflow: visible;
    }

    .legacy-page .legacy-site-header .language-selector::after {
        display: none;
    }

    .legacy-page .legacy-site-header .language-selector:focus-within {
        outline: 3px solid var(--legacy-blue);
        outline-offset: 3px;
    }

    .legacy-page .legacy-site-header .language-selector select {
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .site-header__brand img {
        width: 126px;
    }

    .site-header__nav {
        display: none;
    }

    .site-header__nav {
        gap: 14px;
    }

    .site-header__nav a {
        font-size: 12.5px;
    }

    .hero {
        padding: 42px 0 68px;
    }

    .hero__grid {
        display: block;
    }

    .hero__title {
        font-size: 38px;
        line-height: 1.1;
        letter-spacing: -0.04em;
    }

    html[lang^="ko"] .hero__title,
    html[lang^="ja"] .hero__title {
        font-size: 36px;
    }

    html[lang^="es"] .hero__title {
        font-size: 34px;
    }

    html[lang^="ar"] .hero__title {
        font-size: 36px;
    }

    .hero__intro {
        margin-top: 24px;
        font-size: 17px;
    }

    .hero-visual {
        min-height: 430px;
        margin-top: 36px;
    }

    .hero-visual__map {
        top: 7%;
        right: auto;
        left: 0;
        width: 100%;
        height: 86%;
        border-radius: 24px;
    }

    .hero-visual__memory {
        top: 2%;
        left: 3%;
        width: 56%;
    }

    .hero-visual__ar {
        top: 5%;
        right: 1%;
        width: 39%;
    }

    .hero-visual__timeline {
        right: 2%;
        bottom: 2%;
        width: 69%;
    }

    .story-section {
        padding: 64px 0;
    }

    .section-grid,
    .section-grid--memory {
        display: flex;
        flex-direction: column;
        gap: 34px;
    }

    .section-grid--memory .section-copy {
        order: 1;
    }

    .section-grid--memory .section-visual {
        order: 2;
    }

    .section-copy,
    .section-visual {
        width: 100%;
    }

    .section-eyebrow {
        margin-bottom: 24px;
        font-size: 12px;
    }

    .section-eyebrow>span[aria-hidden="true"] {
        width: 38px;
    }

    .section-title,
    #your-story .section-title--story,
    #ar .section-title {
        margin: 0;
        font-size: 30px;
        line-height: 1.08;
        letter-spacing: -0.035em;
        white-space: normal;
        text-wrap: balance;
    }

    #memory .section-title,
    #journeys .section-title {
        font-size: 28px;
    }

    html[lang^="ko"] .section-title,
    html[lang^="ja"] .section-title,
    html[lang^="ar"] .section-title {
        font-size: 28px;
        line-height: 1.14;
    }

    .section-description,
    .story-heading__support,
    .ar-heading__support {
        font-size: 15px;
        line-height: 1.55;
    }

    .section-description {
        margin-top: 22px;
    }

    .feature-shot--memory,
    .feature-shot--revisit,
    .feature-shot--journey {
        width: min(100%, 340px);
        margin-inline: auto;
    }

    .story-heading,
    .ar-heading {
        display: block;
        margin-bottom: 34px;
    }

    #your-story .story-heading__support,
    #ar .ar-heading__support {
        align-self: auto;
        justify-self: auto;
        max-width: 100%;
        margin: 10px 0 0;
    }

    .profile-panel {
        min-height: auto;
        padding: 26px 18px;
        border-radius: 26px;
    }

    .profile-panel__image {
        width: 100%;
        max-width: 320px;
    }

    .ar-gallery {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .ar-gallery__discovery {
        order: 1;
        width: 100%;
        min-height: 0;
        object-position: 0% center;
    }

    .ar-gallery img.ar-gallery__placement {
        order: 2;
        width: min(62%, 240px);
        height: auto;
        min-height: 0;
        align-self: center;
        object-fit: contain;
        object-position: center;
    }

    .closing-section {
        padding: 52px 0 18px;
    }

    .closing-section__wordmark {
        width: 145px;
        margin-bottom: 30px;
    }

    .closing-section__title {
        font-size: 27px;
        line-height: 1.1;
        letter-spacing: -0.035em;
        text-wrap: balance;
    }

    .closing-section__copy {
        margin: 14px 0 20px;
        font-size: 14px;
    }

    .launch-actions {
        max-width: 290px;
        gap: 10px;
    }

    .store-placeholder,
    .button {
        min-height: 42px;
        padding: 0 17px;
        font-size: 13px;
    }

    .button--primary {
        max-width: 190px;
    }

    .site-footer__main {
        display: block;
        padding: 14px 0 20px;
    }

    .site-footer__identity img {
        width: 140px;
    }

    .site-footer__identity p {
        margin: -8px 0 0;
        font-size: 12px;
    }

    .site-footer__nav {
        display: flex;
        flex-wrap: wrap;
        width: auto;
        justify-content: flex-start;
        row-gap: 10px;
        column-gap: 14px;
        margin-top: 18px;
    }

    .site-footer__nav a {
        padding: 0;
        border-left: 0;
        font-size: 12.5px;
    }

    .site-footer__legal {
        padding-top: 14px;
    }

    .site-footer__legal p {
        font-size: 11px;
    }

    .waitlist-dialog__content {
        padding: 44px 24px 36px;
    }

    .form-grid,
    .support-grid,
    .company-copy-grid,
    .company-card-grid {
        grid-template-columns: 1fr;
    }

    .support-grid {
        gap: 14px;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .form-actions .button {
        max-width: none;
    }

    .support-card--wide {
        grid-column: auto;
    }

    .page-hero {
        padding: 22px 0 32px;
    }

    .page-hero--compact {
        padding-bottom: 28px;
    }

    .context-nav {
        margin-bottom: 18px;
    }

    .context-nav li {
        display: none;
    }

    .context-nav .context-nav__phone-source {
        display: block;
    }

    .context-nav .context-nav__phone-source::before {
        display: none;
    }

    .context-nav a {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
    }

    .context-nav__desktop-label {
        display: none;
    }

    .context-nav__phone-label {
        display: inline;
    }

    .page-hero h1 {
        font-size: 39px;
    }

    .page-hero__intro {
        margin-top: 16px;
        font-size: 16px;
    }

    .content-section {
        padding-bottom: 70px;
    }

    .content-panel,
    .support-card {
        padding: 22px;
    }

    .support-card--topic {
        padding: 0;
    }

    .support-card--topic>summary {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        min-height: 58px;
        gap: 14px;
        padding: 17px 20px;
        cursor: pointer;
    }

    .support-card--topic>summary::after {
        width: 8px;
        height: 8px;
        border: solid var(--accent);
        border-width: 0 2px 2px 0;
        content: "";
        transform: rotate(45deg);
    }

    .support-card--topic[open]>summary {
        padding-bottom: 12px;
    }

    .support-card--topic[open]>summary::after {
        transform: rotate(-135deg);
    }

    .support-card--topic>summary h2 {
        margin: 0;
        font-size: 19px;
    }

    .support-card__content {
        padding: 0 20px 20px;
    }

    .prose h2 {
        margin-top: 30px;
        font-size: 27px;
    }

    .policy-summary {
        margin: 24px 0 30px;
        padding: 19px 20px;
    }

    .policy-contents {
        margin-bottom: 32px;
        padding-bottom: 28px;
    }

    .policy-contents ol {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .product-card {
        padding: 28px;
    }

    .company-section {
        padding: 72px 0;
    }

    .company-copy-grid,
    .company-card-grid {
        gap: 26px;
    }

    .company-section h2,
    .company-contact-section h2 {
        font-size: 34px;
    }

    .company-section__body,
    .company-contact-section>.site-container>p:not(.section-eyebrow) {
        font-size: 16px;
    }

    .company-info-card {
        padding: 26px;
    }

    .share-memory-card__install {
        padding: 24px 20px;
    }

    .share-memory-card h1 {
        font-size: 38px;
    }
}

/* Small phone */

@media (max-width: 380px) {
    .site-container {
        width: calc(100% - 32px);
    }

    .site-header__timule img {
        width: 138px;
    }

    .site-header__legacy img {
        width: 90px;
    }

    .site-header__actions {
        gap: 6px;
    }

    .hero-visual {
        min-height: 400px;
    }

}

/* Reduced motion */

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

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

    html.js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}