:root {
  color-scheme: light dark;
  --ink: #123336;
  --muted: #527074;
  --teal: #0a5d61;
  --teal-dark: #063f43;
  --cream: #fff9ed;
  --paper: #f6f7f2;
  --coral: #ff9f83;
  --line: rgba(10, 93, 97, .18);
  --shadow: 0 28px 80px rgba(5, 52, 55, .12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header, .site-footer, main { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.studio-mark { display: inline-flex; align-items: center; gap: 12px; font-weight: 760; text-decoration: none; letter-spacing: -.02em; }
.monogram { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--teal); color: var(--cream); font-size: 18px; }
nav, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
nav a, .footer-links a { color: var(--teal); font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.studio-hero { min-height: 68vh; display: flex; flex-direction: column; justify-content: center; padding: 80px 0 110px; position: relative; }
.studio-hero::after { content: "+"; position: absolute; right: 2%; top: 10%; color: var(--coral); font-size: clamp(11rem, 30vw, 26rem); line-height: .8; font-weight: 800; opacity: .26; z-index: -1; }
.eyebrow, .platform { margin: 0 0 18px; color: var(--teal); font-size: .82rem; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { letter-spacing: -.055em; line-height: .98; margin: 0; }
h1 { max-width: 820px; font-size: clamp(4rem, 10vw, 8.6rem); }
h1 span { color: var(--teal); }
.lede { max-width: 620px; margin: 34px 0 28px; color: var(--muted); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.5; }
.text-link { width: fit-content; color: var(--teal); font-weight: 750; text-decoration-thickness: 2px; text-underline-offset: 7px; }

.apps-section { padding: 110px 0 130px; border-top: 1px solid var(--line); }
.section-heading { max-width: 740px; margin-bottom: 54px; }
h2 { font-size: clamp(2.8rem, 6vw, 5.3rem); }
.app-feature { display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; overflow: hidden; border-radius: 42px; background: var(--cream); box-shadow: var(--shadow); }
.app-art { min-height: 520px; padding: clamp(42px, 7vw, 92px); display: grid; place-items: center; background: var(--teal); }
.app-art img { width: min(100%, 330px); border-radius: 28%; box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.app-copy { padding: clamp(42px, 7vw, 88px); align-self: center; }
.app-copy h3 { font-size: clamp(2.8rem, 5vw, 5rem); }
.app-tagline { margin: 16px 0 24px; color: var(--teal); font-size: 1.45rem; font-weight: 720; }
.app-copy > p:not(.platform):not(.app-tagline) { max-width: 580px; font-size: 1.12rem; line-height: 1.7; }
.feature-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 30px 0 36px; list-style: none; }
.feature-list li { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal-dark); font-size: .92rem; font-weight: 650; }
.button { display: inline-block; padding: 15px 20px; border-radius: 14px; background: var(--teal); color: white; font-weight: 750; text-decoration: none; }
.button:hover { background: var(--teal-dark); }

.page-shell { max-width: 820px; margin: 0 auto; padding: 70px 24px 100px; }
.back-link { display: inline-block; margin-bottom: 55px; color: var(--teal); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.app-hero { display: grid; grid-template-columns: 132px 1fr; gap: 30px; align-items: center; margin-bottom: 58px; }
.app-hero img { border-radius: 29%; box-shadow: 0 16px 40px rgba(5,52,55,.2); }
.app-hero h1, .content-page h1 { font-size: clamp(3rem, 8vw, 5.7rem); }
.app-hero p { margin: 12px 0 0; color: var(--teal); font-size: 1.35rem; font-weight: 700; }
.content-card { margin: 26px 0; padding: clamp(26px, 5vw, 44px); border: 1px solid var(--line); border-radius: 28px; background: var(--cream); }
.content-card h2, .faq h2, .policy h2 { margin: 0 0 12px; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.025em; line-height: 1.18; }
.content-card p, .faq p, .policy p, .intro { font-size: 1.08rem; line-height: 1.7; color: var(--muted); }
.content-card strong { color: var(--ink); }
.page-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0; }
.secondary-button { display: inline-block; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--teal); font-weight: 730; text-decoration: none; }
.faq, .policy { padding: 28px 0; border-bottom: 1px solid var(--line); }
.contact-card { border-color: var(--teal); }
.contact-card a { color: var(--teal); font-weight: 750; }
.effective { margin: 14px 0 44px; color: var(--muted); }

.site-footer { padding: 42px 0 58px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 28px; color: var(--muted); }
.site-footer > div { display: flex; flex-direction: column; gap: 8px; }
.footer-links { align-items: flex-end; }

@media (max-width: 760px) {
  .site-header { min-height: 74px; }
  nav { gap: 14px; }
  .studio-hero { min-height: 72vh; padding: 70px 0 90px; }
  .app-feature { grid-template-columns: 1fr; border-radius: 30px; }
  .app-art { min-height: 380px; }
  .app-copy { padding: 38px 28px 46px; }
  .app-hero { grid-template-columns: 92px 1fr; gap: 20px; }
  .site-footer { flex-direction: column; }
  .footer-links { align-items: flex-start; gap: 10px; }
}

@media (max-width: 470px) {
  .site-header, .site-footer, main { width: min(100% - 28px, 1160px); }
  .studio-mark span:last-child { max-width: 112px; line-height: 1.05; }
  h1 { font-size: clamp(3.5rem, 17vw, 5rem); }
  .app-hero { align-items: start; }
}

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

@media (prefers-color-scheme: dark) {
  :root { --ink: #eef8f5; --muted: #abc3c1; --teal: #79d3c3; --teal-dark: #9ce8da; --cream: #102b2d; --paper: #061719; --coral: #ff9f83; --line: rgba(121,211,195,.22); --shadow: none; }
  .monogram, .button { background: #79d3c3; color: #062325; }
  .app-art { background: #0b555a; }
  .feature-list li { color: var(--ink); }
}
