:root {
    color-scheme: light;
    --ink: #221833;
    --muted: #5b5266;
    --paper: #fcf9f6;
    --accent: #673bd6;
    --display: Georgia, 'Times New Roman', serif;
    font-family: system-ui, -apple-system, sans-serif;
    background: var(--paper);
    color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #7143db; outline-offset: 4px; }
.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }

.site-header {
    min-height: 84px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.brand {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    font-size: 1.0625rem;
    font-weight: 760;
    text-decoration: none;
}

.brand img { width: 36px; height: 36px; border-radius: 10px; }
.header-nav { display: flex; gap: 26px; align-items: center; font-size: .875rem; font-weight: 650; }
.header-nav > a { text-decoration: none; }
.header-nav > a:hover, footer a:hover { color: var(--accent); }
.language-menu { position: relative; z-index: 2; }
.language-menu summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid #e4dbe8;
    border-radius: 999px;
    list-style: none;
    white-space: nowrap;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after {
    content: '';
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: translateY(-2px) rotate(45deg);
}
.language-menu svg { width: 16px; height: 16px; }
.language-menu ul {
    position: absolute;
    inset: calc(100% + 8px) 0 auto auto;
    width: max-content;
    min-width: 165px;
    margin: 0;
    padding: 5px;
    list-style: none;
    border: 1px solid #e4dbe8;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 32px #28164a1a;
}
.language-menu a { display: block; padding: 9px 11px; border-radius: 9px; text-decoration: none; }
.language-menu a:hover, .language-menu a[aria-current] { background: #f0eaff; color: #4c299c; }

.hero, .features { display: grid; gap: 14px; }
.hero { grid-template-columns: 1.23fr 1fr; }
.panel { position: relative; overflow: hidden; border-radius: 30px; min-width: 0; }

.hero-copy {
    min-height: 492px;
    padding: clamp(34px, 5vw, 74px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: #f0e8ff radial-gradient(ellipse at 0 115%, #ffede4, transparent 64%);
}
.hero-copy h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(3.1rem, 5.6vw, 5.05rem);
    font-weight: 400;
    letter-spacing: -.072em;
    line-height: .96;
}
.hero-copy h1 span { display: block; }
.hero-copy h1 em { display: block; color: var(--accent); font-weight: 400; }
html:lang(hi) .hero-copy h1, html:lang(zh) .hero-copy h1 { letter-spacing: -.03em; line-height: 1.17; }
html:lang(hi) .hero-copy h1 em, html:lang(zh) .hero-copy h1 em { font-style: normal; }
.hero-copy p {
    max-width: 34ch;
    margin: 26px 0 27px;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.19rem);
    line-height: 1.55;
}
.play-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    min-height: 50px;
    border-radius: 12px;
    background: #29183f;
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
}
.play-button:hover { background: #492a7a; }
.play-button svg { width: 18px; height: 18px; flex: 0 0 auto; }

.hero-visual {
    min-height: 492px;
    isolation: isolate;
    background: #dbcbfc radial-gradient(ellipse at 75% 1%, #f3d9ff 4%, transparent 58%);
}
.hero-visual::before, .hero-visual::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    width: 540px;
    height: 540px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #fff9;
}
.hero-visual::after { width: 408px; height: 408px; }
.hero-visual .spark { position: absolute; color: #7145cc; width: 34px; height: 34px; }
.hero-visual .spark:first-of-type { top: 18%; left: 12%; }
.hero-visual .spark:last-of-type { bottom: 19%; right: 11%; width: 20px; height: 20px; }
.phone {
    position: absolute;
    left: 50%;
    top: 52%;
    width: clamp(210px, 21vw, 280px);
    max-width: 70%;
    transform: translate(-50%, -50%) rotate(8deg);
    border-radius: 28px;
    box-shadow: 12px 22px 64px #4e28734d;
}

.features { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.tile {
    min-height: 298px;
    border-radius: 24px;
    padding: clamp(22px, 2.45vw, 34px);
    isolation: isolate;
}
.tile:nth-child(1) { background: #f9e5ec; }
.tile:nth-child(2) { background: #eae3fa; }
.tile:nth-child(3) { background: #f9e9cf; }
.tile h2 {
    margin: 0 0 7px;
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(1.55rem, 2.3vw, 2.2rem);
    letter-spacing: -.045em;
    line-height: 1.04;
}
.tile p { max-width: 34ch; margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.45; }
.tile-art { position: absolute; bottom: -214px; right: 11%; width: 165px; border-radius: 20px; box-shadow: 0 12px 45px #35234835; transform: rotate(12deg); }
.tile:nth-child(2) .tile-art { transform: rotate(-11deg); right: 13%; }
.tile-text { position: relative; z-index: 1; }
.sample {
    position: absolute;
    right: 10%;
    bottom: -17px;
    width: min(77%, 230px);
    padding: 21px 19px 34px;
    border-radius: 16px;
    border: 1px solid #fff9;
    background: #fffaf1;
    box-shadow: 0 10px 30px #76462521;
    transform: rotate(-7deg);
    color: #88481e;
    font-family: var(--display);
    font-size: clamp(1.05rem, 1.9vw, 1.6rem);
    line-height: 1.17;
    text-wrap: balance;
}
.sample svg { display: block; width: 21px; height: 21px; margin-bottom: 8px; color: #b76732; }

.site-footer {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: .85rem;
}
.site-footer div { display: flex; gap: 12px 21px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }

@media (max-width: 1000px) {
    .shell { width: calc(100% - 48px); }
    .hero-copy, .hero-visual { min-height: 440px; }
    .tile-art { width: 145px; bottom: -185px; }
}
@media (max-width: 720px) {
    .shell { width: calc(100% - 28px); }
    .site-header { min-height: 67px; }
    .header-nav > a { display: none; }
    .hero { grid-template-columns: 1fr; }
    .hero-copy { min-height: 0; padding: 40px 28px; }
    .hero-copy h1 { font-size: clamp(2.75rem, 10.5vw, 4.7rem); }
    .hero-copy p { margin: 19px 0 23px; }
    .hero-visual { min-height: 340px; }
    .phone { width: 174px; }
    .features { grid-template-columns: 1fr; }
    .tile { min-height: 225px; }
    .tile-art { width: 135px; right: 6%; bottom: -158px; }
    .tile:nth-child(2) .tile-art { right: 5%; }
    .sample { right: 6%; width: min(55%, 200px); }
    .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 19px; }
}
@media (max-width: 390px) {
    .tile-art { width: 108px; right: 5%; bottom: -113px; }
}
