:root {
  color-scheme: light dark;
  --background: #f7f8f2;
  --surface: #ffffff;
  --surface-soft: #edf1e7;
  --ink: #183b30;
  --muted: #56665d;
  --brand: #174b3d;
  --brand-hover: #10392f;
  --on-brand: #ffffff;
  --line: #d9e1d4;
  --focus: #8a5924;
  --shadow: 0 18px 48px rgb(19 52 38 / 5%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body { margin: 0; background: var(--background); color: var(--ink); font-size: 17px; line-height: 1.7; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 4px; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.2; font-weight: 650; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); letter-spacing: -.055em; }
h2 { font-size: 1.45rem; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; background: var(--brand); color: var(--on-brand); padding: 10px 18px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .page-wrap, .footer-inner { max-width: 1160px; margin-inline: auto; padding-inline: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 98px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.13rem; font-weight: 650; letter-spacing: -.025em; text-decoration: none; flex-shrink: 0; min-height: 48px; }
.brand-mark { width: 43px; height: 43px; object-fit: contain; border-radius: 10px; }
.main-nav { display: flex; gap: 26px; align-items: center; font-size: .92rem; }
.main-nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.main-nav a:hover, .main-nav [aria-current="page"] { text-decoration: underline; }
.main-nav [aria-current="page"] { font-weight: 650; }
.main-nav .language-link { border-left: 1px solid var(--line); padding-left: 26px; color: var(--muted); }
.header-note { font-size: .9rem; color: var(--muted); }
.page-hero { padding-block: 68px 54px; max-width: 860px; }
.eyebrow { font-size: .7rem; letter-spacing: .14em; font-weight: 750; margin-bottom: 16px; text-transform: uppercase; }
.lead { max-width: 770px; font-size: 1.2rem; line-height: 1.7; color: var(--muted); margin-top: 24px; margin-bottom: 18px; }
.version { display: inline-block; margin: 0; border: 1px solid var(--line); border-radius: 100px; padding: 5px 13px; font-size: .77rem; color: var(--muted); }
.policy-layout { display: grid; grid-template-columns: minmax(210px, 1fr) minmax(0, 2.6fr); gap: 56px; align-items: start; padding-bottom: 80px; }
.contents { position: sticky; top: 28px; padding-block: 8px 20px; }
.contents .eyebrow { margin-bottom: 12px; }
.contents ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.contents a { display: block; padding: 9px 0 9px 18px; text-decoration: none; font-size: .86rem; line-height: 1.45; color: var(--muted); min-height: 44px; }
.contents a:hover { color: var(--ink); text-decoration: underline; }
.policy-body { min-width: 0; }
.policy-section { padding-block: 30px 32px; border-top: 1px solid var(--line); scroll-margin-top: 28px; }
.section-number { display: block; color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .08em; margin-bottom: 11px; }
.policy-section h2 { margin-bottom: 17px; }
.policy-section p { max-width: 68ch; color: var(--muted); margin-bottom: 0; }
.contact-card { border: 1px solid var(--line); background: var(--surface-soft); border-radius: 22px; padding: 30px; scroll-margin-top: 28px; }
.contact-card h2 { font-size: 1.65rem; margin-bottom: 5px; }
.contact-card .contact-label { color: var(--muted); font-size: .8rem; margin-bottom: 16px; }
.contact-card p:not(.eyebrow) { color: var(--muted); }
.email-address { display: inline-block; font-size: .98rem; font-weight: 650; overflow-wrap: anywhere; margin-bottom: 20px; max-width: 100%; }
.button { min-height: 50px; padding: 12px 20px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 26px; font-size: .92rem; font-weight: 650; text-decoration: none; line-height: 1.45; }
.button-primary { color: var(--on-brand); background: var(--brand); }
.button-primary:hover { background: var(--brand-hover); text-decoration: none; }
.fine-print { font-size: .79rem; line-height: 1.55; margin-top: 16px; margin-bottom: 0; }
.help-hero { max-width: 790px; }
.help-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(290px, 1fr); gap: 54px; align-items: start; padding-bottom: 80px; }
.faq-list > h2 { font-size: 1.15rem; margin-bottom: 24px; }
.faq { border-top: 1px solid var(--line); scroll-margin-top: 28px; }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; padding-block: 23px; font-weight: 650; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq-toggle { font-size: 1.5rem; font-weight: 350; line-height: 1; width: 22px; flex-shrink: 0; text-align: center; margin-top: 2px; color: var(--muted); }
.faq[open] .faq-toggle { transform: rotate(45deg); }
.faq-answer { padding: 0 32px 23px 0; color: var(--muted); }
.faq-answer p { margin-bottom: 0; }
.help-contact .contact-card { padding: 28px; }
.help-contact .contact-card p { font-size: .93rem; }
.help-contact .contact-card .fine-print { font-size: .78rem; }
.help-contact .contact-card .contact-label { font-size: .78rem; }
.help-contact .contact-card .eyebrow { font-size: .7rem; }
.help-contact .button { display: flex; width: 100%; }
.app-note { color: var(--muted); font-size: .82rem; padding: 20px 8px 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 44px; align-items: center; justify-content: space-between; padding-block: 30px; font-size: .79rem; color: var(--muted); }
.footer-inner strong { color: var(--ink); font-size: .9rem; }
.footer-inner p { margin: 5px 0 0; }
.studio-credit { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; margin-block: 12px; padding: 14px 16px; border-radius: 14px; background: #0a2938; color: #fff; line-height: 1.5; }
.studio-credit img { display: block; width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.studio-credit span { min-width: 0; overflow-wrap: anywhere; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-date { width: 100%; font-size: .73rem; }
.gateway { max-width: 1080px; padding-top: 72px; padding-bottom: 48px; }
.gateway-hero h1 span { display: block; color: var(--muted); }
.gateway-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 850px; margin-top: 30px; color: var(--muted); }
.gateway-intro p { margin: 0; }
.language-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; }
.language-card { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); padding: 30px; box-shadow: var(--shadow); }
.language-card h2 { font-size: 2rem; margin-bottom: 16px; }
.language-card p:not(.eyebrow) { color: var(--muted); font-size: .95rem; }
.language-card .button { margin-top: 12px; min-width: 140px; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; gap: 18px; font-size: .93rem; margin: 12px 0 0 24px; }
.gateway-contact { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 42px; }
.gateway-contact .eyebrow { margin-bottom: 9px; }
.gateway-contact h2 { font-size: 1.2rem; }
.gateway-contact .email-address { margin: 0; }
@media (max-width: 900px) {
  .policy-layout { grid-template-columns: minmax(180px, 1fr) minmax(0, 2.4fr); gap: 30px; }
  .help-layout { gap: 30px; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); }
  .help-contact .contact-card { padding: 22px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .header-inner, .page-wrap, .footer-inner { padding-inline: 22px; }
  .header-inner { min-height: 90px; gap: 10px; flex-wrap: wrap; padding-block: 16px; }
  .brand { font-size: 1.05rem; }
  .brand-mark { width: 37px; height: 37px; }
  .main-nav { gap: 22px; width: 100%; justify-content: flex-start; }
  .main-nav .language-link { margin-left: auto; padding-left: 22px; }
  .page-hero { padding-block: 42px 36px; }
  .lead { font-size: 1.05rem; margin-top: 20px; }
  .eyebrow { font-size: .66rem; }
  .policy-layout, .help-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-bottom: 46px; }
  .contents { position: static; padding: 20px; background: var(--surface-soft); border-radius: 18px; }
  .contents ol { display: grid; grid-template-columns: 1fr 1fr; border: none; gap: 4px 16px; }
  .contents a { padding: 7px 0; font-size: .79rem; }
  .policy-section { padding-block: 26px; }
  .policy-section h2 { font-size: 1.35rem; }
  .contact-card { padding: 24px; }
  .help-contact { margin-top: 12px; }
  .help-contact .contact-card { padding: 26px; }
  .help-contact .button { display: inline-flex; width: auto; }
  .faq-answer { padding-right: 8px; }
  .footer-inner { align-items: flex-start; gap: 12px; padding-block: 25px; }
  .footer-inner > div, .footer-inner nav { width: 100%; }
  .gateway { padding-top: 42px; }
  .gateway-intro { gap: 15px; grid-template-columns: 1fr; margin-top: 24px; }
  .language-grid { gap: 20px; margin-top: 30px; }
  .language-card { padding: 24px; }
  .language-card .button { min-width: 0; width: 100%; }
  .text-link { margin-left: 0; }
}
@media (max-width: 430px) {
  .header-inner, .page-wrap, .footer-inner { padding-inline: 18px; }
  h1 { font-size: 2.4rem; }
  .gateway-hero h1 { font-size: 2.6rem; }
  .language-grid { grid-template-columns: 1fr; }
  .language-card .button { width: auto; min-width: 140px; }
  .language-card .text-link { margin-left: 20px; }
  .contents ol { grid-template-columns: 1fr; }
  .main-nav { gap: 18px; }
  .main-nav .language-link { padding-left: 18px; }
}
@media (prefers-color-scheme: dark) {
  :root { --background: #10221c; --surface: #182e25; --surface-soft: #20382c; --ink: #edf3e8; --muted: #b8c7b7; --brand: #c9e3bc; --brand-hover: #dbedcc; --on-brand: #132b20; --line: #395142; --focus: #edc285; --shadow: none; }
}
@media print {
  :root { --background: white; --surface: white; --surface-soft: white; --ink: black; --muted: #333; --line: #bbb; }
  .site-header, .site-footer, .contents, .skip-link, .button { display: none; }
  .page-wrap { max-width: none; padding: 0; }
  .page-hero { padding-top: 0; }
  .policy-layout, .help-layout { display: block; }
  .policy-section, .contact-card { break-inside: avoid; }
}

/* Studio and product pages */
.studio-brand img, .footer-credit img { object-fit: contain; padding: 7px; border-radius: 6px; background: #142d37; }
.studio-brand { gap: .7rem; }
.footer-credit { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.footer-credit strong { display: block; }
.studio-hero { background: #112d37; color: #f6f4ea; overflow: hidden; }
.studio-grid, .product-grid { display: grid; grid-template-columns: 1.32fr 1fr; align-items: center; gap: clamp(2rem,6vw,6rem); }
.studio-grid { min-height: 31rem; padding-block: clamp(3rem,7vw,7rem); }
.landing h1 { font-size: clamp(3rem,6.2vw,5.7rem); letter-spacing: -.058em; line-height: 1.01; }
.studio-grid h1 { max-width: 12ch; }
.studio-grid p, .product-lead { margin: 1.4rem 0 1.8rem; font-size: clamp(1.07rem,2vw,1.28rem); line-height: 1.55; max-width: 39rem; }
.studio-grid p { color: #d3dfdf; }
.hero-button { display: inline-flex; align-items: center; min-height: 48px; border-radius: 8px; padding: .65rem 1.25rem; background: #d6ebb4; color: #152d26; text-decoration: none; font-weight: 650; }
.hero-button:hover { background: #e3f4c8; }
.studio-emblem { aspect-ratio: 1.18; display: grid; place-items: center; isolation: isolate; position: relative; }
.studio-emblem::before { content:""; position:absolute; inset:0; z-index:-1; border-radius: 50%; background: repeating-radial-gradient(ellipse at center, transparent 0 15px, #9cbaad38 16px, transparent 17px); }
.studio-emblem img { width: 49%; height:auto; filter: drop-shadow(0 15px 15px #001b1b55); }
.studio-feature { display:grid; grid-template-columns: .8fr 1.3fr; align-items:center; gap:clamp(2rem,7vw,7rem); padding-block:clamp(3rem,7vw,6rem); }
.app-art { background:#dbe8d3; padding:2.5rem; min-height:16rem; display:grid; place-items:center; border-radius:16px; }
.app-art img { width:clamp(6.5rem,11vw,10rem); height:auto; border-radius:22%; box-shadow:0 15px 35px #203b2e30; }
.landing h2 { font-size:clamp(1.8rem,3.5vw,3rem); letter-spacing:-.045em; line-height:1.1; }
.landing h2 a { text-decoration:none; }
.landing h2 a:hover { text-decoration:underline; }
.studio-feature p:not(.platforms), .study-steps p, .contact-strip p, .product-lead { color:var(--muted); max-width:60ch; margin-top:1rem; }
.platforms { margin:0 0 .65rem; font-size:.93rem; color:var(--muted); }
.inline-action { display:inline-block; font-weight:650; padding-block:.7rem; }
.contact-strip { border-top:1px solid var(--line); background:var(--surface-soft); padding-block:clamp(2.5rem,6vw,5rem); }
.contact-strip p { margin-bottom:.5rem; }
.contact-strip a { overflow-wrap:anywhere; }
.product-hero { background:var(--surface-soft); border-bottom:1px solid var(--line); }
.product-grid { padding-block:clamp(2.5rem,5vw,4rem); grid-template-columns:1.25fr .9fr; }
.product-name { display:flex; align-items:center; gap:.8rem; font-size:1.25rem; font-weight:650; margin-bottom:1.75rem; }
.product-name img { border-radius:12px; }
.product-grid h1 { max-width:13ch; }
.screen-wrap { margin:0; display:grid; place-items:center; }
.screen-wrap img { width:min(100%,235px); height:auto; border-radius:24px; border:3px solid #18352c; box-shadow:0 14px 34px #102b2524; }
.study-section { padding-block:clamp(3rem,6vw,5.5rem); }
.study-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1.5rem,4vw,3.8rem); margin-top:2.5rem; }
.study-steps > div { border-top:2px solid var(--line); padding-top:1.25rem; }
.study-steps h3 { font-size:1.25rem; }
.small-note { font-size:.94rem; }
@media (max-width:700px) {
  .studio-grid,.product-grid,.studio-feature,.study-steps { grid-template-columns:1fr; }
  .studio-grid { min-height:auto; position:relative; }
  .studio-grid > div:first-child { position:relative; z-index:1; }
  .studio-emblem { display:none; }
  .studio-feature { gap:1.5rem; }
  .app-art { min-height:10rem; padding:1.5rem; }
  .product-grid { gap:2rem; }
  .screen-wrap img { width:min(65vw,225px); }
  .study-steps { gap:1.2rem; margin-top:1.8rem; }
  .main-nav { justify-content:space-between; flex-wrap:wrap; gap:.35rem .8rem; }
  .main-nav .language-link { padding-left:.85rem; margin-left:0; }
}
