@layer reset, base, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure { margin: 0; }
  img { display: block; max-width: 100%; }
  a { color: inherit; }
}
@layer base {
  :root {
    color-scheme: light;
    --paper: #f7f5ef; --ink: #282333; --muted: #5c5862;
    --plum: #483362; --lavender: #eae4f0; --teal: #e4ede7;
    --line: #d4d0c8; --gold: #e9bb70; --focus: #7048a6;
    --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --serif: Georgia, "Times New Roman", serif;
  }
  html { scroll-padding-top: 24px; }
  body { background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
  h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; font-weight: 650; text-wrap: balance; overflow-wrap: anywhere; }
  h1 { font-size: clamp(3.1rem, 6.4vw, 6rem); }
  h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); }
  h3 { font-size: 1.5rem; }
  h1 em { color: var(--plum); font-family: var(--serif); font-weight: 400; }
  p { color: var(--muted); max-width: 65ch; }
  p + p { margin-top: 1rem; }
  a { text-underline-offset: .22em; text-decoration-thickness: 1px; }
  a:hover { text-decoration-thickness: 2px; }
  :focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 3px; }
  main:focus { outline: 0; }
  ::selection { background: #dfc7ee; color: #282333; }
  [id] { scroll-margin-top: 24px; }
}
@layer layout {
  .shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
  .site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 26px; border-bottom: 1px solid var(--line); }
  .site-header nav { display: flex; gap: 32px; align-items: center; }
  .site-header nav a { padding: 10px 2px; text-decoration: none; font-weight: 600; }
  .site-header nav a:hover, .site-header nav a[aria-current] { text-decoration: underline; }
  .hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding-block: 90px 100px; }
  .hero-copy > p { margin-top: 28px; max-width: 39ch; font-size: 1.15rem; }
  .hero-copy .button { margin-top: 32px; }
  .hero h1 { margin-top: 25px; }
  .apps-section { padding-block: 30px 90px; }
  .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
  .section-heading h2 { margin-top: 16px; }
  .section-heading > p { max-width: 30ch; }
  .product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .studio-section { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: center; padding-block: 70px 95px; border-top: 1px solid var(--line); }
  .studio-section h2 { margin: 20px 0 24px; }
  .support-strip { display: flex; align-items: center; justify-content: space-between; gap: 40px; border-top: 1px solid var(--line); padding-block: 55px 70px; }
  .support-strip h2 { margin: 14px 0; }
  .site-footer { background: #ebe7de; padding-top: 55px; }
  .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
  .footer-grid > div { display: flex; flex-direction: column; align-items: start; gap: 12px; }
  .footer-grid a { font-size: .9rem; }
  .footer-bottom { border-top: 1px solid #c9c3b8; margin-top: 50px; padding-block: 24px; display: flex; justify-content: space-between; gap: 20px; font-size: .8rem; color: var(--muted); }
  .product-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; padding: 55px; margin-top: 28px; border-radius: 24px; align-items: center; }
  .product-hero h1 { font-size: clamp(2.8rem, 4.5vw, 4.6rem); margin-block: 28px 20px; }
  .product-hero .button { margin-top: 28px; }
  .product-tagline { font-size: 1.4rem; line-height: 1.5; color: var(--ink); margin-bottom: 18px; }
  .features-section, .gallery-section, .availability-section { padding-block: 75px; }
  .features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 70px; }
  .features-grid h3 { margin-block: 12px 16px; }
  .features-section > .fine-print { margin-top: 40px; max-width: 86ch; }
  .gallery-section { border-top: 1px solid var(--line); }
  .gallery-section h2 { margin-block: 14px 20px; }
  .screenshot-gallery { display: flex; gap: 60px; justify-content: center; padding: 45px; margin-top: 30px; border-radius: 24px; }
  .availability-section { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 80px; border-top: 1px solid var(--line); }
  .availability-section h2 { margin-block: 15px 22px; }
  .availability-section .fine-print { margin-top: 26px; }
  .product-help { padding: 30px; background: #ebe7de; border-radius: 16px; align-self: start; }
  .product-help p { margin-block: 16px 24px; }
  .page-intro { padding-block: 70px; }
  .page-intro h1 { margin-block: 20px 24px; }
  .page-intro > p { font-size: 1.2rem; }
  .help-section { border-top: 1px solid var(--line); padding-block: 55px; max-width: 880px; }
  .help-section h2 { margin-block: 16px 35px; }
  .contact-section { display: grid; grid-template-columns: 1.5fr 1fr; gap: 70px; padding: 45px; margin-block: 15px 65px; background: var(--lavender); border-radius: 20px; align-items: center; }
  .contact-section h2 { margin-block: 16px 24px; }
  .prose { max-width: 800px; overflow-wrap: anywhere; }
  .prose h2 { font-size: 1.65rem; letter-spacing: -.025em; margin-block: 35px 15px; }
  .prose ul { padding-left: 22px; color: var(--muted); }
  .prose li { margin-bottom: 12px; }
  .legal-page { padding-bottom: 75px; }
  .not-found { padding-block: 100px 130px; }
  .not-found h1 { margin-block: 24px; }
  .not-found > .text-link { margin-top: 32px; display: inline-block; }
}
@layer components {
  .skip-link { position: absolute; left: 16px; top: 16px; z-index: 10; padding: 14px 20px; background: var(--ink); color: white; transform: translateY(-200%); }
  .skip-link:focus { transform: translateY(0); }
  .preview-banner { text-align: center; padding: 8px 24px; background: #eae4f0; color: #483362; font-size: .8rem; }
  .preview-banner span { margin-inline: 8px; }
  .brand { display: flex; align-items: center; gap: 13px; font-weight: 700; font-size: 1.12rem; line-height: 1.2; text-decoration: none; letter-spacing: -.04em; }
  .brand small { display: block; margin-top: 5px; text-transform: uppercase; font-size: .62rem; letter-spacing: .19em; font-weight: 600; }
  .brand-mark { display: block; position: relative; color: var(--paper); background: var(--plum); padding: 10px 9px; border-radius: 12px; font-family: var(--serif); font-size: 1.5rem; letter-spacing: -.1em; }
  .brand-mark span { position: absolute; top: -4px; right: -5px; color: #87540c; background: #f5d598; font-size: 1.05rem; line-height: 1; border-radius: 50%; padding: 3px; letter-spacing: 0; }
  .eyebrow { color: #5c4b52; font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; line-height: 1.6; display: inline-block; }
  .tiny-star { font-size: 1rem; margin-right: 7px; color: var(--plum); }
  .button { display: inline-flex; gap: 22px; justify-content: space-between; align-items: center; min-height: 48px; padding: 14px 22px; background: var(--ink); color: white; border: 1px solid var(--ink); border-radius: 7px; font-size: .9rem; font-weight: 600; text-decoration: none; line-height: 1.5; }
  .button:hover { background: #49345e; color: white; }
  .button-outline { background: transparent; color: var(--ink); }
  .button-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
  .hero-art { min-height: 450px; position: relative; isolation: isolate; }
  .orbit { position: absolute; border: 1px solid #d7c9ba; border-radius: 50%; inset: 20px 0; z-index: -1; transform: rotate(-25deg); }
  .orbit-two { inset: 55px -10px; transform: rotate(24deg); border-style: dashed; }
  .floating-app { position: absolute; padding: 25px; border: 1px solid #c9bcd9; border-radius: 23px; text-decoration: none; display: flex; flex-direction: column; align-items: start; box-shadow: 0 20px 45px #392a4810; width: 248px; }
  .floating-app .app-icon { margin-bottom: 25px; }
  .floating-app > span { font-size: .8rem; margin-bottom: 4px; color: var(--muted); }
  .floating-app strong { font-size: .94rem; }
  .floating-app:hover { box-shadow: 0 15px 35px #392a4825; }
  .floating-countdown { left: 3%; top: 5px; background: #eae1f0; transform: rotate(-7deg); }
  .floating-wheel { bottom: 5px; right: 0; background: #e4ede7; border-color: #b8c9bd; transform: rotate(7deg); }
  .app-icon { object-fit: contain; flex-shrink: 0; }
  .art-star { position: absolute; color: #94631d; font-size: 3rem; }
  .star-one { right: 12%; top: 10px; }
  .star-two { left: 6%; bottom: 30px; color: var(--plum); font-size: 4rem; }
  .art-note { position: absolute; bottom: -40px; left: 28%; font-family: var(--serif); font-style: italic; color: #736050; transform: rotate(-6deg); }
  .product-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; padding: 32px 27px; border: 1px solid #d7cfde; border-radius: 22px; align-items: center; }
  .plum { background: var(--lavender); }
  .teal { background: var(--teal); border-color: #c8d5cd; }
  .app-heading { display: flex; gap: 16px; align-items: center; }
  .product-card .app-heading { flex-direction: column; align-items: start; gap: 22px; }
  .product-card h3 { font-size: clamp(1.65rem, 2.1vw, 2.1rem); margin-block: 20px; }
  .product-card h3 a { text-decoration: none; }
  .product-card p { font-size: .94rem; }
  .text-link { font-size: .9rem; font-weight: 700; }
  .text-link span { margin-left: 8px; }
  .product-card .text-link { display: inline-block; margin-top: 22px; }
  .availability { display: block; margin-top: 20px; color: #62516c; font-size: .75rem; font-weight: 600; }
  .teal .availability { color: #385c49; }
  .screen-figure { text-align: left; min-width: 0; }
  .screen-link { display: block; width: fit-content; max-width: 100%; margin-inline: auto; padding: 7px; background: white; box-shadow: 0 10px 30px #28233318; border: 1px solid #d0c8d5; }
  .screen-figure img { width: auto; height: auto; max-height: 560px; max-width: 100%; object-fit: contain; }
  .screen-figure figcaption { margin: 13px auto 0; max-width: 32ch; font-size: .72rem; line-height: 1.5; color: #56505f; }
  .card-art .screen-figure img { max-height: 465px; }
  .product-hero-art .screen-figure { width: fit-content; margin-inline: auto; }
  .product-hero-art .screen-figure img { max-height: 590px; }
  .screenshot-gallery .screen-figure { flex: 0 1 330px; }
  .studio-symbol { font-size: 13rem; line-height: 1; color: var(--plum); text-align: center; }
  .feature-number { display: inline-block; color: #6e587e; font-family: var(--serif); font-size: 1.6rem; font-style: italic; }
  .fine-print { font-size: .88rem; line-height: 1.7; }
  .policy-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; font-size: .8rem; }
  .back-link { display: inline-block; margin-top: 35px; font-size: .85rem; }
  .pill-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .pill-links a { padding: 10px 18px; border: 1px solid #bab2c2; border-radius: 99px; text-decoration: none; font-size: .85rem; }
  details { border-bottom: 1px solid var(--line); }
  summary { cursor: pointer; font-weight: 650; padding: 22px 5px; min-height: 48px; }
  details > div { padding: 0 5px 26px; }
  details[open] summary { color: var(--plum); }
  .notice { border-left: 3px solid #906d37; background: #f0e7d8; color: #534330; padding: 18px 22px; font-size: .9rem; margin-block: 20px; }
  .contact-address { overflow-wrap: anywhere; margin-top: 16px; font-size: .9rem; }
  .footer-brand { max-width: 100%; overflow-wrap: anywhere; font-size: 1.25rem !important; font-weight: 700; letter-spacing: -.04em; line-height: 1.25; text-decoration: none; }
  .footer-brand span { display: inline-block; margin-left: .4em; font-size: 1.5em; color: var(--plum); vertical-align: middle; line-height: 1; }
  .footer-label { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .7rem; margin-bottom: 8px; }
}
@layer responsive {
  @media (min-width: 1440px) { .hero { padding-block: 110px 120px; } }
  @media (max-width: 1000px) {
    .shell { width: calc(100% - 56px); }
    .hero { grid-template-columns: 1.1fr 1fr; gap: 20px; padding-block: 70px 80px; }
    .hero-art { min-height: 400px; }
    .floating-app { width: 195px; padding: 22px; }
    .floating-app .app-icon { width: 85px; height: 85px; }
    .floating-app strong { font-size: .8rem; }
    .product-card { display: flex; flex-direction: column; align-items: stretch; padding: 28px; }
    .product-card .app-heading { flex-direction: row; align-items: center; }
    .card-art { margin-top: 28px; }
    .card-art .screen-figure img { max-height: 430px; }
    .product-card-copy { flex: 1; }
    .product-hero { padding: 35px; gap: 30px; }
    .footer-grid { gap: 28px; grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2; }
  }
  @media (max-width: 700px) {
    .shell { width: calc(100% - 40px); }
    .site-header { padding-block: 20px; gap: 18px; flex-wrap: wrap; }
    .site-header nav { gap: 22px; font-size: .85rem; }
    .brand { font-size: 1rem; }
    .brand-mark { font-size: 1.2rem; }
    .hero { grid-template-columns: 1fr; padding-block: 52px 75px; gap: 45px; }
    .hero h1 { font-size: clamp(3.1rem, 10.5vw, 4.4rem); }
    .hero-art { width: min(390px, 100%); margin-inline: auto; min-height: 370px; }
    .orbit { inset: 30px 38px; }
    .orbit-two { inset: 55px 38px; }
    .floating-app { width: 200px; }
    .floating-app .app-icon { width: 85px; height: 85px; }
    .floating-wheel { bottom: 5px; }
    .art-note { bottom: -30px; left: 20%; font-size: .9rem; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 22px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; padding: 30px 24px; align-items: center; }
    .product-card .app-heading { flex-direction: column; align-items: start; gap: 16px; }
    .product-card h3 { font-size: 1.7rem; }
    .product-card .card-art { margin-top: 0; }
    .studio-section { grid-template-columns: 1fr; gap: 30px; padding-block: 50px; }
    .studio-symbol { font-size: 6rem; text-align: left; }
    .support-strip { flex-direction: column; align-items: start; gap: 28px; padding-block: 40px 55px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 24px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .product-hero { grid-template-columns: 1fr; padding: 30px 24px; gap: 40px; }
    .product-hero h1 { font-size: 2.8rem; overflow-wrap: anywhere; }
    .product-hero .app-heading { flex-direction: column; align-items: start; }
    .product-hero-art .screen-figure img { max-height: 500px; }
    .features-section, .gallery-section, .availability-section { padding-block: 50px; }
    .features-grid { grid-template-columns: 1fr; gap: 30px; }
    .screenshot-gallery { gap: 20px; padding: 25px 15px; }
    .screenshot-gallery .screen-figure img { max-height: 430px; }
    .availability-section { grid-template-columns: 1fr; gap: 30px; }
    .contact-section { grid-template-columns: 1fr; padding: 28px; gap: 22px; }
    .page-intro { padding-block: 50px; }
    .not-found { padding-block: 70px; }
  }
  @media (max-width: 430px) {
    .product-card { display: flex; }
    .product-card .app-heading { flex-direction: row; align-items: center; }
    .product-card .card-art { margin-top: 30px; }
    .floating-app { width: 175px; padding: 20px; }
    .floating-app .app-icon { width: 76px; height: 76px; }
    .floating-app > span { font-size: .74rem; }
    .floating-app strong { font-size: .74rem; }
    .hero-art { min-height: 360px; }
    .floating-countdown { left: 5px; }
    .floating-wheel { right: 5px; }
    .screenshot-gallery { flex-direction: column; gap: 35px; align-items: center; padding: 28px; }
    .screenshot-gallery .screen-figure { flex: auto; max-width: 240px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
  }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
  @media (forced-colors: active) { .button, .floating-app, .screen-link { border: 1px solid ButtonText; } }
}
