:root {
  color-scheme: light;
  --background: #f6f4ef;
  --surface: #ffffff;
  --surface-subtle: #fbfaf7;
  --ink: #20262d;
  --muted: #67727e;
  --border: #d8d3c7;
  --border-strong: #c9c1b3;
  --accent: #235b4d;
  --accent-dark: #174339;
  --accent-soft: #dce9e3;
  --clay: #b45f45;
  --gold: #b8872f;
  --blue: #415f8c;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(31, 42, 47, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(246, 244, 239, 0.94);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 56px);
  position: sticky;
  top: 0;
  z-index: 2;
}

.brand-link,
.brand-lockup {
  align-items: center;
  display: flex;
  gap: 10px;
  text-decoration: none;
}

.text-brand {
  min-height: 38px;
}

.studio-logo {
  display: block;
  height: 52px;
  width: 224px;
}

.studio-kicker {
  border-left: 1px solid #d8c39a;
  color: #7b563c;
  line-height: 1;
  margin-left: 2px;
  padding-left: 12px;
}

.brand-mark {
  border-radius: var(--radius);
  height: 38px;
  width: 38px;
}

.brand-word {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.brand-word span {
  color: var(--accent);
}

.brand-kicker,
.eyebrow {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 10px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--accent-soft);
  border-color: #c7ddd4;
  outline: none;
}

.hero {
  background:
    url("./assets/report-preview.png"),
    var(--accent-dark);
  background-color: var(--accent-dark);
  background-position: right 16% top 42%;
  background-repeat: no-repeat;
  background-size: auto 112%;
  color: #ffffff;
  min-height: min(78svh, 680px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 72px);
  position: relative;
}

.root-hero {
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border);
  padding: clamp(56px, 9vw, 104px) clamp(20px, 6vw, 72px);
}

.root-hero-inner {
  max-width: 820px;
}

.root-hero h1 {
  font-size: clamp(40px, 7vw, 68px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 760px;
}

.root-hero p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  margin: 20px 0 0;
  max-width: 680px;
}

.studio-home {
  background: #f7f1e7;
}

.studio-home .site-header {
  background: #f7f1e7;
}

.studio-home .brand-word span {
  color: var(--clay);
}

.studio-home .site-nav a,
.studio-home .footer-links a {
  color: #5f4634;
}

.studio-home .site-nav a:hover,
.studio-home .site-nav a:focus-visible {
  background: #f0dfc7;
  border-color: #dfc69d;
}

.studio-home .eyebrow {
  color: var(--gold);
}

.studio-hero {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(246, 232, 201, 0.05) 0,
      rgba(246, 232, 201, 0.05) 1px,
      transparent 1px,
      transparent 96px
    ),
    #29251f;
  color: #fffaf0;
  padding-block: clamp(54px, 8vw, 96px);
  position: relative;
}

.studio-hero-emblem {
  bottom: 8%;
  height: min(38vw, 360px);
  opacity: 0.07;
  position: absolute;
  right: -32px;
  transform: rotate(-8deg);
  width: min(38vw, 360px);
}

.studio-hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
  max-width: 1120px;
  position: relative;
  z-index: 1;
}

.studio-hero-copy {
  max-width: 760px;
}

.studio-hero h1 {
  color: #fffaf0;
}

.studio-hero p {
  color: #eadfcd;
}

.studio-hero .button.primary.dark {
  background: #f6e8c9;
  color: #30281d;
}

.studio-hero .button.secondary.dark {
  border-color: rgba(246, 232, 201, 0.45);
  color: #fffaf0;
}

.studio-current {
  background: #fffaf0;
  border: 1px solid #e3cfa8;
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(17, 14, 10, 0.22);
  color: var(--ink);
  padding: clamp(18px, 3vw, 24px);
}

.studio-current .eyebrow {
  margin: 0 0 16px;
}

.studio-product-row {
  align-items: flex-start;
  display: flex;
  gap: 14px;
}

.studio-product-row h2 {
  font-size: 24px;
  line-height: 1;
  margin: 0;
}

.studio-product-row p {
  color: var(--muted);
  font-size: 15px;
  margin: 8px 0 0;
}

.studio-facts {
  border-top: 1px solid #e8dac0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0 0;
  padding-top: 16px;
}

.studio-facts div {
  min-width: 0;
}

.studio-facts dt {
  color: var(--clay);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.studio-facts dd {
  color: #30281d;
  font-size: 14px;
  font-weight: 900;
  margin: 4px 0 0;
}

.studio-principles {
  background: #fffaf0;
  border-bottom: 1px solid #e3d5bc;
}

.studio-principle-list {
  border-top: 1px solid #e1cfab;
  display: grid;
  gap: 0;
  margin-top: 34px;
}

.studio-principle-list article {
  align-items: baseline;
  border-bottom: 1px solid #e1cfab;
  display: grid;
  gap: 18px;
  grid-template-columns: 58px minmax(160px, 0.4fr) minmax(0, 1fr);
  padding: 22px 0;
}

.studio-principle-list span {
  color: var(--gold);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.studio-principle-list h3 {
  font-size: 21px;
  line-height: 1.15;
  margin: 0;
}

.studio-principle-list p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.studio-product-section {
  background: #ece4d7;
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.studio-product-showcase {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 72px);
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
}

.studio-product-copy {
  max-width: 460px;
}

.studio-product-copy h2 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 0.98;
  margin: 0;
}

.studio-product-copy p {
  color: var(--muted);
  font-size: 18px;
  margin: 16px 0 0;
}

.studio-product-visual {
  min-height: 430px;
  position: relative;
}

.studio-product-visual::before {
  background: #2d2922;
  border-radius: 999px;
  content: "";
  height: 220px;
  left: 50%;
  opacity: 0.08;
  position: absolute;
  top: 55%;
  transform: translate(-50%, -50%) rotate(-8deg);
  width: min(100%, 620px);
}

.studio-shot {
  background: var(--surface);
  border: 1px solid #d6c3a0;
  border-radius: var(--radius);
  box-shadow: 0 18px 34px rgba(43, 36, 27, 0.18);
  display: block;
  position: absolute;
}

.studio-shot-main {
  left: 24%;
  top: 0;
  width: min(50%, 320px);
  z-index: 2;
}

.studio-shot-side {
  width: min(39%, 240px);
}

.studio-shot-side.top {
  left: 2%;
  top: 62px;
  transform: rotate(-4deg);
}

.studio-shot-side.bottom {
  bottom: 2px;
  right: 2%;
  transform: rotate(4deg);
}

.studio-home .notice {
  background: transparent;
  border-color: #c5ab7b;
  border-inline: 0;
  box-shadow: none;
  padding-inline: 0;
}

.studio-home .notice p {
  color: #5f4634;
}

.hero::before {
  background: rgba(23, 67, 57, 0.72);
  content: "";
  inset: 0;
  position: absolute;
}

.hero > * {
  position: relative;
}

.hero-inner {
  max-width: 690px;
}

.hero .brand-lockup {
  margin-bottom: 34px;
}

.hero .brand-word {
  color: #ffffff;
}

.hero .brand-word span {
  color: #dce9e3;
}

.hero .brand-kicker,
.hero .eyebrow {
  color: #d8c597;
}

.hero h1 {
  font-size: clamp(42px, 8vw, 72px);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
  max-width: 740px;
}

.hero p {
  color: #ecf4f0;
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 22px 0 0;
  max-width: 620px;
}

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

.button {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
  text-align: center;
}

.button.primary {
  background: #ffffff;
  color: var(--accent-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.button.primary.dark {
  background: var(--accent-dark);
  color: #ffffff;
}

.button.secondary.dark {
  border-color: var(--border-strong);
  color: var(--accent-dark);
}

.page-section {
  padding: clamp(44px, 7vw, 76px) clamp(20px, 6vw, 72px);
}

.section-inner {
  margin: 0 auto;
  max-width: 1060px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.legal-content h1 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  margin: 14px 0 0;
}

.feature-grid,
.screenshot-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.single-product-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 680px;
}

.feature-card,
.notice,
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.product-card {
  align-items: flex-start;
  display: flex;
  gap: 14px;
}

.product-mark {
  border-radius: var(--radius);
  flex: 0 0 auto;
  height: 56px;
  width: 56px;
}

.feature-card h3,
.legal-card h2,
.notice h2 {
  font-size: 19px;
  line-height: 1.2;
  margin: 0;
}

.feature-card p,
.notice p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.feature-card p,
.notice p,
.legal-card p {
  margin: 10px 0 0;
}

.screenshots {
  background: var(--surface-subtle);
  border-block: 1px solid var(--border);
}

.screenshot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screenshot-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
}

.screenshot-frame img {
  border-radius: 6px;
  display: block;
  height: auto;
  width: 100%;
}

.notice {
  align-items: flex-start;
  background: var(--accent-soft);
  border-color: #c7ddd4;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
}

.notice p {
  color: var(--accent-dark);
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
}

.footer-brand {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.studio-footer-logo {
  display: block;
  height: 38px;
  width: 164px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.inline-links a,
.legal-card a {
  color: var(--accent-dark);
  font-weight: 900;
}

.legal-page {
  padding: 42px clamp(20px, 6vw, 72px) 70px;
}

.legal-content {
  margin: 0 auto;
  max-width: 880px;
}

.legal-intro {
  color: var(--muted);
  font-size: 17px;
  margin: 14px 0 26px;
}

.draft-banner {
  background: #f4ead5;
  border: 1px solid #e0c98f;
  border-radius: var(--radius);
  color: #6d4e16;
  font-weight: 800;
  margin-bottom: 24px;
  padding: 14px 16px;
}

.legal-card {
  margin-top: 16px;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal-meta {
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 6px;
  text-transform: uppercase;
}

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

.support-card {
  margin-top: 0;
}

.code-value {
  color: var(--accent-dark);
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 800;
}

@media (max-width: 980px) {
  .feature-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-hero-inner {
    grid-template-columns: 1fr;
  }

  .studio-current {
    max-width: 640px;
  }

  .studio-product-showcase {
    grid-template-columns: 1fr;
  }

  .studio-product-copy {
    max-width: 720px;
  }

  .studio-product-visual {
    min-height: 390px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    background-position: right -188px bottom -8px;
    background-size: auto 78%;
    min-height: auto;
    padding-block: 44px 52px;
  }

  .hero::before {
    background: rgba(23, 67, 57, 0.84);
  }

  .hero h1 {
    max-width: 420px;
  }

  .hero p {
    max-width: 360px;
  }

  .feature-grid,
  .screenshot-grid,
  .notice,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .studio-principle-list article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .studio-principle-list p {
    grid-column: 2;
  }

  .studio-product-visual {
    min-height: 330px;
  }

  .product-card {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 12px;
    padding: 12px 16px;
    position: static;
  }

  .brand-link,
  .brand-lockup {
    max-width: 100%;
  }

  .studio-logo {
    height: 42px;
    width: 184px;
  }

  .studio-kicker {
    display: none;
  }

  .brand-mark {
    height: 34px;
    width: 34px;
  }

  .brand-word {
    font-size: 20px;
  }

  .brand-kicker,
  .eyebrow {
    font-size: 11px;
  }

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

  .site-nav a {
    background: rgba(220, 233, 227, 0.58);
    font-size: 13px;
    padding: 9px 8px;
    text-align: center;
  }

  .studio-home .site-nav a {
    background: rgba(240, 223, 199, 0.72);
  }

  .hero,
  .root-hero,
  .page-section,
  .legal-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .root-hero {
    padding-block: 42px 48px;
  }

  .studio-hero {
    padding-block: 38px 42px;
  }

  .hero {
    background-position: right -226px bottom -20px;
    background-size: auto 68%;
    padding-block: 36px 44px;
  }

  .hero .brand-lockup {
    margin-bottom: 24px;
  }

  .hero h1,
  .root-hero h1 {
    font-size: 34px;
    line-height: 1.02;
  }

  .section-heading h2,
  .legal-content h1 {
    font-size: 28px;
    line-height: 1.08;
  }

  .hero p,
  .root-hero p,
  .section-heading p,
  .legal-intro {
    font-size: 16px;
  }

  .actions {
    gap: 10px;
    margin-top: 24px;
  }

  .actions .button,
  .notice .button {
    width: 100%;
  }

  .button {
    min-height: 44px;
    padding: 10px 14px;
  }

  .studio-product-row {
    flex-direction: column;
  }

  .studio-facts {
    grid-template-columns: 1fr;
  }

  .studio-principle-list {
    margin-top: 26px;
  }

  .studio-principle-list article {
    gap: 10px 14px;
    padding: 18px 0;
  }

  .studio-principle-list span {
    font-size: 22px;
  }

  .studio-principle-list h3 {
    font-size: 19px;
  }

  .studio-principle-list p,
  .studio-product-copy p {
    font-size: 16px;
  }

  .studio-product-visual {
    min-height: 270px;
  }

  .studio-shot-main {
    left: 24%;
    width: 54%;
  }

  .studio-shot-side {
    width: 42%;
  }

  .studio-shot-side.top {
    left: 0;
    top: 44px;
  }

  .feature-card,
  .notice,
  .legal-card {
    box-shadow: 0 4px 14px rgba(31, 42, 47, 0.08);
    padding: 16px;
  }

  .legal-card ul {
    padding-left: 18px;
  }

  .inline-links {
    gap: 10px;
  }

  .inline-links a,
  .legal-card a {
    overflow-wrap: anywhere;
  }

  .screenshot-frame {
    margin-inline: auto;
    max-width: 360px;
    padding: 8px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 16px;
  }
}
