@font-face {
  font-family: Inter;
  src: url("fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0b2041;
  --muted: #374e6d;
  --paper: #fcfaf7;
  --sky: #eef8fd;
  --teal: #007d84;
  --blue: #174acf;
  --heading: "Bricolage Grotesque", Inter, sans-serif;
  --gutter: clamp(18px, 4.6vw, 66px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.55 Inter, Arial, sans-serif;
}

h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; line-height: 1.04; }
h2 { font-size: clamp(30px, 4vw, 47px); letter-spacing: -.046em; }
h3 { font-size: 27px; letter-spacing: -.035em; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 3px solid #245bdb; outline-offset: 4px; }
#main:focus { outline: none; }

.wrap {
  width: min(1320px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 16px;
  transform: translateY(calc(-100% - 16px));
  background: white;
  border-radius: 8px;
}

.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 3;
  background: #fcfaf7;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 5vw, 85px);
  min-height: 94px;
  padding-block: 10px;
}

.brand {
  display: inline-grid;
  justify-items: center;
  flex: none;
  width: max-content;
  text-decoration: none;
}

.brand img { width: 174px; height: auto; mix-blend-mode: multiply; }
.brand > span { margin-top: -4px; color: var(--muted); font-size: .68rem; font-weight: 600; }

#main-nav { display: flex; align-items: center; gap: clamp(16px, 2.7vw, 40px); }
#main-nav a { padding-block: 7px; font-size: .94rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
#main-nav a:first-child { box-shadow: 0 2px #05aeb7; }
#main-nav a:hover { color: var(--teal); }
.menu-toggle { display: none; }
.header-action { margin-left: auto; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85em;
  width: fit-content;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #09223d;
  color: white;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover { background: #173b60; }
.button span, .text-link span { font-size: 1.15em; }
.button-light { border-color: #d8dde2; background: rgba(255,255,255,.78); color: var(--ink); }
.button-light:hover { background: white; border-color: #9fb4c7; }
.text-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(115deg, #fffdf9, #fbf4e9 78%, #f5ece1);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 32%, #98ad8c55, transparent 44%),
    radial-gradient(ellipse at 72% 90%, #fff 4%, transparent 48%);
  content: "";
}

.hero-inner {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  min-height: 486px;
}

.hero-copy { z-index: 1; padding-block: 35px 48px; }

.eyebrow {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: .14em 0 .26em;
  font-size: clamp(48px, 5.8vw, 84px);
  line-height: .98;
  letter-spacing: -.064em;
}

.hero h1 span { position: relative; display: inline-block; color: var(--teal); }
.hero h1 span::after {
  position: absolute;
  right: 1%;
  bottom: -.13em;
  width: 68%;
  height: .21em;
  border-top: .066em solid #ffba0b;
  border-radius: 65% 52% 0 0;
  transform: rotate(-3deg);
  content: "";
}

.motto { margin-top: 24px; font: 700 clamp(21px, 2vw, 29px)/1.12 var(--heading); }
.motto em, .studio h2 em, .notes h2 em { color: var(--teal); font-style: normal; }
.hero-lead { max-width: 410px; margin-top: 10px; color: var(--muted); font-size: clamp(16px, 1.36vw, 19px); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.actions .button { min-height: 53px; }

.hero-visual {
  position: relative;
  width: 100%;
  margin-block: 12px 0;
  align-self: center;
  isolation: isolate;
}

.window-stack { position: relative; aspect-ratio: 1.62; }
.window-stack::before, .window-stack::after {
  position: absolute;
  z-index: -1;
  border-radius: 48% 52% 69% 31% / 59% 41% 59% 41%;
  transform: rotate(-26deg);
  content: "";
}

.window-stack::before {
  inset: 8% 6% 12% 13%;
  background: linear-gradient(120deg, #b2ece1aa, #a2d7f299 45%, #48aebb88);
}

.window-stack::after {
  inset: 27% 12% 5% 4%;
  background: linear-gradient(120deg, #abded788, #c7d9fa88 46%, #f4daff55);
  transform: rotate(9deg);
}

.window {
  position: absolute;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #ffffffaa;
  border-radius: clamp(5px, 1vw, 13px);
  background: #f6f8fc;
  box-shadow: 0 11px 22px #112f5352, 0 2px 5px #142b4440;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: clamp(15px, 1.65vw, 24px);
  padding: 2px 7px;
  color: #1a2c49;
  font-size: clamp(7px, .73vw, 11px);
  font-weight: 600;
  white-space: nowrap;
}

.window-bar img { width: clamp(8px, 1.15vw, 16px); aspect-ratio: 1; object-fit: contain; }
.window-bar span { width: 13px; margin-left: auto; border-top: 2px dotted currentColor; opacity: .55; }
.window-screen { width: 100%; min-height: 0; flex: 1; object-fit: cover; object-position: top left; }
.window-clock { top: 13%; left: 21%; width: 40%; height: 48%; transform: rotate(-5deg); }
.window-calc { top: 4%; left: 64%; width: 29%; height: 64%; transform: rotate(2deg); }
.window-calc .window-screen { object-position: 38% 0; }
.window-md { top: 46%; left: 6%; width: 43%; height: 43%; transform: rotate(7deg); }
.window-folder { top: 31%; left: 44%; width: 41%; height: 49%; transform: rotate(8deg); }
.window-podcast { top: 65%; left: 41%; width: 47%; height: 34%; transform: rotate(3deg); background: #17142e; border-color: #8d59ef; }
.window-podcast .window-bar { color: #fff; }
.window-podcast .window-screen, .app-podcast .card-screen { filter: invert(1) hue-rotate(180deg); }

.hero figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: .7rem;
  text-align: right;
}

.collection {
  background: var(--sky);
  padding-block: 30px 24px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}

.section-heading p { margin-top: 3px; color: var(--muted); font-size: clamp(17px, 2vw, 25px); }
.section-heading .text-link { flex: none; padding-block: 5px; }

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

.app-card {
  --accent: #ab3c1e;
  --tint: #ffdccb;
  --surface: #fff6ef;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 229px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 20px;
  background: linear-gradient(116deg, var(--surface) 26%, var(--tint));
}

.app-card::before {
  position: absolute;
  z-index: -1;
  top: 15%;
  right: -6%;
  width: 64%;
  height: 145%;
  transform: rotate(-21deg);
  border-radius: 50%;
  background: var(--tint);
  content: "";
}

.app-folder { --accent: #a93414; --tint: #ffded1; --surface: #fff7ef; }
.app-calc { --accent: #00767b; --tint: #d2f3e9; --surface: #f1fbf8; }
.app-clock { --accent: #1855d4; --tint: #d9eaff; --surface: #f4f9ff; }
.app-md { --accent: #7128bd; --tint: #eadcff; --surface: #fcf8ff; }
.app-podcast { --accent: #6226a8; --tint: #e1d2ff; --surface: #f4edff; grid-column: 1 / -1; }
.app-task { --accent: #294bab; --tint: #dfe6ff; --surface: #f6f8ff; }
.app-clipboard { --accent: #007971; --tint: #d2f0eb; --surface: #f4fffc; }
.app-player { --accent: #a23f21; --tint: #ffe3d0; --surface: #fff8f1; }

.app-copy { position: relative; z-index: 1; width: 49%; padding: 22px 8px 22px 24px; }
.app-title { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.app-title h3 { font-size: clamp(22px, 2.25vw, 32px); }
.app-title h3 a { text-decoration: none; }
.app-title h3 a:hover { text-decoration: underline; }
.app-title h3 a span { color: var(--accent); font-size: .55em; vertical-align: .25em; }

.app-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 14px;
  background: #ffffffcf;
  box-shadow: 0 2px 6px #182f481b;
}

.app-icon img { width: 38px; height: 38px; object-fit: contain; border-radius: 7px; }
.tagline { font: 700 clamp(16px, 1.52vw, 22px)/1.22 var(--heading); }
.description { max-width: 22ch; margin-top: 4px; color: var(--muted); font-size: .9rem; line-height: 1.3; }

.card-screen {
  position: absolute;
  right: 2.6%;
  bottom: 0;
  width: 49%;
  height: 88%;
  border: 1px solid #bfc7d1;
  border-radius: 11px 11px 0 0;
  background: #fff;
  box-shadow: 0 2px 19px #283c6750;
  object-fit: cover;
  object-position: top left;
}

.app-calc .app-copy { width: 53%; }
.app-calc .card-screen { width: 43%; right: 4%; object-position: 38% 0; }
.app-podcast .card-screen {
  right: 13%;
  bottom: -9%;
  width: 46%;
  height: 104%;
  transform: rotate(2deg);
  border-color: #6b48b3;
  background: #1a122d;
}

.status {
  display: inline-flex;
  margin-top: 12px;
  padding: 5px 14px;
  border: 1px solid #d4bcf7;
  border-radius: 999px;
  background: #e9dcff;
  color: #402278;
  font-size: .82rem;
  font-weight: 600;
}

.more-apps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.more-apps .app-card { min-height: 117px; }
.more-apps .app-copy { width: 100%; padding: 17px 23px; }
.more-apps .app-title { margin-bottom: 6px; }
.more-apps .app-title h3 { font-size: clamp(19px, 1.8vw, 25px); }
.more-apps .app-icon { width: 35px; height: 35px; border-radius: 9px; }
.more-apps .app-icon img { width: 29px; height: 29px; }
.collection-caption { margin-top: 11px; color: var(--muted); font-size: .74rem; }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-block: 0;
  padding: 28px 0;
  list-style: none;
}

.values li { display: grid; align-content: center; padding: 0 clamp(14px, 3vw, 43px); border-inline-start: 1px solid #d7e3e9; }
.values li:first-child { border-inline-start: 0; }
.values strong { font: 700 22px/1.15 var(--heading); }
.values strong::before {
  display: inline-block;
  width: .55em;
  height: .55em;
  margin-right: .46em;
  border-radius: 50%;
  background: #ffc23b;
  vertical-align: .06em;
  content: "";
}
.values li:nth-child(2) strong::before { background: #16a4a6; }
.values li:nth-child(3) strong::before { background: #8a52d9; }
.values span { color: var(--muted); font-size: .87rem; }

.studio {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f4e8d6;
}

.studio::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 26%;
  background: linear-gradient(90deg, #f4e8d6, #f4e8d600 35%), url("images/studio-review.webp") center 55% / cover no-repeat;
  content: "";
}

.studio-inner {
  display: grid;
  grid-template-columns: 1fr .83fr;
  align-items: center;
  justify-items: start;
  min-height: 324px;
  gap: 22px;
  padding-block: 35px;
}

.studio h2 { margin-top: 9px; }
.studio-copy > p:not(.eyebrow) { max-width: 34ch; margin-top: 10px; }
.studio-copy .button { margin-top: 17px; }

.studio-quote {
  align-self: end;
  justify-self: end;
  max-width: 320px;
  padding: 18px 20px;
  transform: rotate(-2deg);
  border: 1px solid #fff9ef;
  border-radius: 9px;
  background: #fff9efed;
  box-shadow: 0 7px 21px #322a2d26;
}

.studio-quote h3 { font-size: 23px; }
.studio-quote p { margin-top: 7px; color: var(--muted); font-size: .9rem; }

.notes {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 28px;
  padding-block: 34px;
}

.notes h2 { margin-top: 7px; font-size: clamp(26px, 3vw, 38px); }
.notes-copy > p:not(.eyebrow) { margin: 9px 0; color: var(--muted); }
.note { padding: 16px 21px; border: 1px solid #e7ddd3; border-radius: 13px; background: #fffaf1; }
.note h3 { margin-block: 4px; font-size: 23px; }
.note > p:not(.eyebrow) { color: var(--muted); font-size: .89rem; }

.site-footer { padding-block: 27px 15px; color: #eff6ff; background: #0a223b; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr .8fr 1.25fr; gap: 18px; }
.footer-brand .brand img { width: 130px; mix-blend-mode: normal; }
.footer-brand p { margin-top: 8px; font-size: .85rem; }
.site-footer h2 { margin: 0 0 6px; font: 600 .87rem/1.4 Inter, sans-serif; letter-spacing: 0; }
.site-footer a { display: block; width: fit-content; color: inherit; text-decoration: none; }
.footer-grid a:not(.brand) { color: #cfdef0; font-size: .8rem; line-height: 1.8; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: #76dfea; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 13px;
  margin-top: 20px;
  padding-top: 11px;
  border-top: 1px solid #ffffff38;
  color: #cfdef0;
  font-size: .74rem;
}

@media (max-width: 1000px) {
  .header-inner { gap: 21px; }
  .header-action { display: none; }
  #main-nav { margin-left: auto; }
  .hero-inner { min-height: 410px; }
  .hero-copy { padding-block: 26px; }
  .actions .button { padding-inline: 15px; }
  .app-copy { padding-left: 15px; }
}

@media (max-width: 720px) {
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 8px; padding-block: 9px; }
  .brand img { width: 132px; }
  .brand > span { font-size: .59rem; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    margin-left: auto;
    padding: 6px 12px;
    border: 1px solid #d7e0e5;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: .86rem;
    font-weight: 600;
  }
  .menu-toggle span { width: 13px; height: 8px; border-block: 2px solid; }
  #main-nav { flex: 0 0 100%; display: grid; gap: 0; margin: 0; border-top: 1px solid #e3e8eb; }
  #main-nav a { padding: 10px 3px; }
  #main-nav a:first-child { box-shadow: none; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-block: 28px 0; }
  .hero h1 { font-size: clamp(46px, 12.4vw, 72px); }
  .hero-lead { max-width: 40ch; }
  .actions { margin-top: 17px; }
  .actions .button { min-height: 45px; padding-inline: 12px; font-size: .82rem; }
  .hero-visual { margin-block: 13px 14px; }
  .window-stack { aspect-ratio: 1.64; }
  .hero figcaption { margin-top: 4px; }
  .collection { padding-block: 23px 17px; }
  .section-heading { align-items: start; flex-direction: column; gap: 4px; margin-bottom: 12px; }
  .section-heading .text-link { font-size: .86rem; }
  .app-grid, .more-apps { gap: 9px; }
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .app-card { min-height: 171px; border-radius: 15px; }
  .app-copy { width: 54%; padding: 14px 5px 14px 12px; }
  .app-title { gap: 7px; margin-bottom: 8px; }
  .app-title h3 { font-size: 22px; }
  .app-icon { width: 35px; height: 35px; border-radius: 9px; }
  .app-icon img { width: 29px; height: 29px; }
  .card-screen { width: 46%; height: 86%; right: 1.8%; }
  .app-calc .app-copy { width: 54%; }
  .app-calc .card-screen { width: 43%; right: 2.4%; }
  .app-podcast .card-screen { right: 1%; bottom: -1%; width: 47%; height: 78%; }
  .description { font-size: .77rem; }
  .more-apps { grid-template-columns: 1fr; }
  .more-apps .app-card { min-height: 76px; }
  .more-apps .app-copy { padding: 11px 12px; }
  .more-apps .app-title { margin-bottom: 3px; }
  .values { grid-template-columns: 1fr; gap: 8px; padding-block: 13px; }
  .values li, .values li:first-child { padding: 6px 0 6px 8px; border-inline-start: 0; }
  .values li + li { border-top: 1px solid #d7e3e9; }
  .studio::before {
    inset: auto 0 0;
    height: 61%;
    background-image: linear-gradient(#f4e8d6, #f4e8d600 38%), url("images/studio-review.webp");
  }
  .studio-inner { grid-template-columns: 1fr; min-height: 362px; gap: 28px; padding-block: 21px 18px; }
  .studio-quote { max-width: min(255px, 95%); padding: 11px 13px; }
  .studio-quote h3 { font-size: 19px; }
  .studio-quote p { font-size: .8rem; }
  .notes { grid-template-columns: 1fr; gap: 15px; padding-block: 22px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 10px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 350px) {
  .app-title h3 { font-size: 19px; }
  .app-title .app-icon { width: 29px; height: 29px; }
  .app-title .app-icon img { width: 24px; height: 24px; }
}

/* Shared layouts for the catalog, product pages and editorial pages. */
.catalog { padding-block: clamp(30px, 5vw, 64px); }
.catalog h1, .editorial-hero h1, .contact-page h1, .notes-hero h1, .note-article h1 {
  font-size: clamp(41px, 6vw, 78px);
  letter-spacing: -.06em;
}

.lead { max-width: 62ch; color: var(--muted); font-size: clamp(16px, 1.6vw, 20px); }
.studio-serif { color: var(--teal); font-style: normal; }
.about-hero .showcase-copy { position: relative; z-index: 1; padding-block: 32px; }
.about-hero .window-md { top: 41%; left: 9%; width: 54%; height: 47%; z-index: 2; }
.about-hero .window-calc { top: 9%; left: 47%; width: 43%; height: 55%; }
.about-hero .window-folder { top: 34%; left: 48%; width: 43%; height: 52%; z-index: 1; }

.studio-section, .features, .gallery-section, .related { padding-block: clamp(24px, 4.3vw, 54px); }
.section-intro { max-width: 65ch; margin-bottom: 20px; }
.section-intro .eyebrow + h2, .eyebrow + h3 { margin-top: 6px; }
.section-intro h2 + p, .studio-tile h3 + p, .studio-paper h3 + p, .studio-paper p + p { margin-top: 9px; }
.section-intro h2 + p, .studio-tile h3 + p { color: var(--muted); }

.studio-grid, .studio-split, .feature-row, .notes-hero, .notes-feature, .contact-page {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 34px);
}

.three-columns, .related-grid, .support-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.studio-grid { align-items: stretch; }
.studio-grid .studio-tile { height: 100%; }
.tone-mint { --tile-color: #e8f8f3; }
.tone-violet { --tile-color: #f1eafd; }
.tone-blue { --tile-color: #eaf4ff; }

.studio-tile, .studio-paper, .contact-status, .support-products article, .article-close {
  padding: clamp(17px, 3vw, 33px);
  border: 1px solid #e2e8ee;
  border-radius: 17px;
  background: var(--tile-color, #fff);
}

.studio-approach { margin-top: 16px; }
.studio-approach blockquote, .notes-feature-visual blockquote, .notes-hero blockquote .studio-serif {
  font: 700 clamp(23px, 3vw, 36px)/1.13 var(--heading);
}

.studio-banner, .product-philosophy, .availability {
  padding: clamp(23px, 4vw, 48px);
  border: 1px solid #f3e2d0;
  border-radius: 19px;
  background: linear-gradient(115deg, #fff9ef, #f9ecdf);
}

.studio-banner { margin-block: 17px; }
.studio-banner .studio-paper { background: #fffcf6; }
.home-notes .note-paper { background: #fff8ed; }
.preview-caption, .artwork-context { color: var(--muted); font-size: .83rem; }
.notes-hero, .notes-feature { padding-block: clamp(25px, 6vw, 64px); }
.notes-hero h1, .editorial-hero h1, .contact-page h1 { margin-block: 7px 12px; }
.notes-feature { border-block: 1px solid #e0e7ed; }
.notes-feature .studio-paper, .notes-hero .studio-paper { background: #f2f8ff; }
.notes-about { margin-bottom: clamp(28px, 5vw, 65px); }
.note h3 a, .notes-feature h2 a { text-decoration: none; }
.note h3 a:hover, .notes-feature h2 a:hover { text-decoration: underline; }

.product-hero {
  background:
    radial-gradient(ellipse at 82% 75%, var(--tint, #eaf4ff), transparent 65%),
    linear-gradient(115deg, var(--paper), var(--surface, #f3f9fe));
}

.product-hero-inner {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 5vw, 72px);
  padding-block: clamp(30px, 5.4vw, 75px);
}

.product-hero-text { display: block; }
.product-hero-text .product-intro { max-width: 55ch; }
.product-hero h1 { margin-block: 9px; font-size: clamp(43px, 6.8vw, 86px); letter-spacing: -.064em; }
.back-link { display: inline-block; margin-bottom: 14px; color: var(--blue); font-weight: 600; font-size: .87rem; }
.product-identity, .support-product-heading { display: flex; align-items: center; gap: 12px; }
.product-identity:empty { display: none; }
.product-identity .status { margin: 0; }
.product-identity + .eyebrow { margin-top: 9px; }

.product-mark {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #fff;
  border-radius: 15px;
  background: #ffffffdc;
  box-shadow: 0 3px 11px #0b204115;
}

.product-mark img { width: 77%; height: 77%; object-fit: contain; }
.product-emblem {
  display: grid;
  place-items: center;
  min-height: 240px;
  border: 2px solid #fff;
  border-radius: 20px;
  background: radial-gradient(ellipse, white, var(--tint, #d2f0eb));
}

.product-emblem img {
  width: clamp(88px, 10vw, 128px);
  height: auto;
  filter: drop-shadow(0 14px 20px #0b204133);
}

.product-tagline {
  color: var(--accent, var(--teal));
  font: 700 clamp(25px, 3.4vw, 47px)/1.04 var(--heading);
  letter-spacing: -.035em;
}

.product-legacy-line, .folder-subtitle { margin-top: 13px; font-weight: 600; }
.product-intro .lead { margin-top: 9px; }
.folder-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-block: 18px 0;
  color: var(--muted);
  font-size: .83rem;
}

.folder-top nav { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.folder-top + .product-hero-inner { padding-top: clamp(20px, 3vw, 44px); }

.screenshot, .promotional-artwork {
  overflow: hidden;
  border: 1px solid #d8e2eb;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 23px #0b204111;
}

.screenshot img, .promotional-artwork img { width: 100%; height: auto; }
.product-main-image { box-shadow: 0 16px 38px #0b204126; }
.product-main-image img { max-height: 465px; object-fit: contain; background: #f5f8fb; }
.screenshot figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 10px 13px;
  color: var(--muted);
  font-size: .8rem;
}

.media-status, .concept-label { color: #593490; font-size: .75rem; font-weight: 600; }
.feature-row { margin-block: 14px 28px; }
.feature-row h2 + p { margin-top: 8px; color: var(--muted); }
.feature-row.reverse > div { order: 1; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr));
  gap: 14px;
}

.gallery-link { position: relative; display: block; }
.gallery-link img { height: clamp(145px, 19vw, 230px); object-fit: contain; background: #f2f7fb; }
.enlarge-hint {
  position: absolute;
  inset: 8px 8px auto auto;
  padding: 4px 9px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
}

.gallery-link:focus-visible { outline-offset: -4px; }
.legacy-artwork { margin-block: 16px; }
.legacy-artwork summary { width: fit-content; color: var(--blue); }
.legacy-artwork figure { max-width: 810px; margin-top: 10px; }
.product-philosophy h2 { max-width: 28ch; margin-top: 6px; }
.availability { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 15px; }
.availability h2 { margin-block: 4px 8px; }
.support-link { color: var(--blue); font-weight: 600; }

.related-grid, .support-products { display: grid; gap: 14px; }
.related-grid > a {
  display: block;
  padding: clamp(15px, 2vw, 24px);
  border: 1px solid #e3e9ef;
  border-radius: 16px;
  background: linear-gradient(115deg, var(--surface, #fff), var(--tint, #eaf4ff));
  text-decoration: none;
}

.related-grid > a:hover h3 { text-decoration: underline; }
.related-grid h3 { margin: 8px 0 5px; }
.related-grid p { font-size: .88rem; color: var(--muted); }
.related-grid .product-mark { width: 42px; height: 42px; border-radius: 11px; }

.material-tags, .course-materials, .step-list { list-style: none; padding: 0; margin: 12px 0 0; }
.material-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.material-tags li { border-radius: 999px; padding: 4px 10px; background: #f1f6ff; font-size: .79rem; }
.course-materials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.course-materials li { display: grid; padding: 8px 10px; border-radius: 8px; background: #f3f8fd; }
.course-materials span { color: var(--muted); font-size: .8rem; }
.course-project { margin-top: 10px; font-weight: 600; color: var(--teal); }
.folder-faq { align-items: start; }
.faq-list details, .page-toc { padding: 11px 15px; border: 1px solid #e1e7ed; border-radius: 11px; background: #fff; }
.faq-list details + details { margin-top: 7px; }
.faq-list p { margin-top: 7px; color: var(--muted); }
summary { cursor: pointer; font-weight: 600; }
.preview-badge {
  display: inline-block;
  width: fit-content;
  padding: 3px 10px;
  border: 1px solid #d8e4ed;
  border-radius: 999px;
  background: #edf7fc;
  color: var(--muted);
  font-size: .78rem;
}
.folder-availability .section-intro { margin: 0; }

.editorial-hero, .contact-page { padding-block: clamp(30px, 6vw, 76px); }
.editorial-hero.compact { padding-bottom: clamp(21px, 4vw, 43px); }
.editorial-hero .button, .contact-status .button { margin-top: 16px; }
.contact-status h2 { font-size: clamp(26px, 3.4vw, 42px); margin-block: 8px; }
.support-products { padding-bottom: clamp(28px, 5vw, 64px); }
.support-products h2 { font-size: clamp(22px, 2.7vw, 29px); }
.support-products .product-mark { width: 45px; height: 45px; border-radius: 10px; }
.support-products article p { margin-block: 10px; color: var(--muted); }

.legal-layout { display: grid; align-items: start; grid-template-columns: minmax(210px, .37fr) minmax(0, 1fr); gap: clamp(18px, 4.5vw, 60px); padding-bottom: 42px; }
.page-toc nav { display: grid; gap: 6px; margin-top: 10px; font-size: .87rem; }
.page-toc a { color: var(--blue); }
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(24px, 3.1vw, 36px); margin-bottom: 8px; }
.prose p + p { margin-top: 12px; }
.prose section + section { border-top: 1px solid #e2e8ee; padding-top: 19px; margin-top: 19px; }
.prose section > a { display: inline-block; margin-top: 7px; color: var(--blue); }
.notice { padding: 11px 14px; border-left: 3px solid #b66a22; border-radius: 0 8px 8px 0; background: #fff1de; }
.note-article { max-width: 860px; padding-block: clamp(28px, 5vw, 62px); }
.note-article header { padding-block: 22px 24px; }
.note-article h1 { margin-block: 7px; }
.article-byline { margin-top: 10px; color: var(--muted); font-size: .85rem; }
.note-article .prose h2, .note-article .prose blockquote, .article-close { margin-top: 25px; }
.note-article .prose blockquote { margin-bottom: 15px; color: var(--teal); font: 700 25px/1.2 var(--heading); }
.note-article > .text-link:last-child { display: inline-block; margin-top: 20px; }

@media (max-width: 850px) {
  .support-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-hero .showcase-copy { padding-block: 25px; }
}

@media (max-width: 720px) {
  .studio-grid, .studio-split, .feature-row, .notes-hero, .notes-feature,
  .contact-page, .legal-layout, .related-grid, .support-products, .product-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-row.reverse > div { order: 0; }
  .about-hero .showcase-copy { padding-block: 27px 3px; }
  .about-hero .hero-visual { margin-bottom: 17px; }
  .product-hero-inner { padding-block: 24px 28px; }
  .product-emblem { min-height: 150px; }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-link img { height: auto; max-height: 245px; }
  .course-materials { gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

.card-media-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .73rem;
}

.support-products article > .text-link { display: inline-block; margin-top: 10px; }

/* Coming Soon is informative, never a button. */
.status {
  border-radius: 7px;
  cursor: default;
  user-select: text;
}
.status-small {
  display: inline-flex;
  margin-top: 9px;
  padding: 3px 8px;
  font-size: .73rem;
  line-height: 1.25;
}
.availability-status { margin: 5px 0 10px; }
.more-apps .status-small { margin-top: 5px; }
.product-concept { margin: 0; min-width: 0; }
.product-concept .product-emblem { min-height: 315px; }
.product-concept .preview-caption { margin-top: 9px; font-size: .77rem; }
.product-symbol { color: var(--accent); font: 700 32px/1 var(--heading); }
.illustrated-check {
  display: grid;
  place-items: center;
  width: min(42%, 160px);
  aspect-ratio: 1;
  color: #fff;
  border-radius: 27%;
  background: linear-gradient(155deg, #52b5fd, #2155e5);
  box-shadow: 0 16px 35px #2459b536;
  font: 700 clamp(64px, 7vw, 100px)/1 var(--heading);
}
@media (max-width: 670px) {
  .product-concept .product-emblem { min-height: 200px; }
  .more-apps .status-small { margin-top: 6px; }
}

/* The full product card is a single keyboard-accessible link. */
.app-card-link {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.app-card-link:hover { color: inherit; text-decoration: none; }
.app-card:focus-within { outline: 3px solid #1457a4; outline-offset: 2px; }
.app-card-link:focus-visible { outline: none; }
.app-card-link .app-title h3 > span[aria-hidden] {
  color: var(--accent);
  font-size: .55em;
  vertical-align: .25em;
}
@media (prefers-reduced-motion: no-preference) {
  .app-card { transition: box-shadow .18s ease; }
  .app-card:hover { box-shadow: 0 5px 19px rgba(14, 41, 66, .12); }
}


/* Indie studio message: About page. No scripts, images or extra dependencies. */
.about-hero .showcase-copy { max-width: 690px; }
.about-declaration {
  margin: 15px 0 13px;
  font: 700 clamp(20px, 2.4vw, 30px)/1.2 var(--heading);
  letter-spacing: -.03em;
}
.about-declaration span { color: var(--teal); }
.about-indie-board {
  position: relative;
  display: grid;
  min-height: 380px;
  place-items: center;
  isolation: isolate;
}
.about-indie-board::before {
  position: absolute;
  z-index: -1;
  inset: 13% 5% 9% 7%;
  border-radius: 49% 51% 46% 54%;
  background: linear-gradient(130deg, #c8f2ee 5%, #c8e9f9 58%, #e7d9fb);
  transform: rotate(-12deg);
  content: "";
}
.about-note-sheet {
  width: min(88%, 435px);
  padding: clamp(25px, 4vw, 44px);
  border: 1px solid #f5e5ce;
  border-radius: 10px;
  background: #fffaf1;
  box-shadow: 0 16px 38px #1b456123;
  transform: rotate(-5deg);
}
.about-note-title {
  margin-top: 18px;
  font: 700 clamp(27px, 3.2vw, 43px)/1.08 var(--heading);
  letter-spacing: -.055em;
}
.about-note-title em { color: var(--teal); font-style: normal; }
.about-note-copy { max-width: 25ch; margin-top: 15px; color: var(--muted); font-size: 1rem; }
.about-indie-seal {
  position: absolute;
  right: 3%;
  bottom: 13%;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border: 2px solid #ffae31;
  border-radius: 50%;
  background: #fff6df;
  color: #8a4600;
  font: 700 14px/1.18 var(--heading);
  text-align: center;
  transform: rotate(12deg);
}
@media (max-width: 720px) {
  .about-indie-board { min-height: 270px; margin-bottom: 18px; }
  .about-note-sheet { padding: 26px; }
  .about-indie-seal { width: 70px; height: 70px; font-size: 10px; right: 1%; bottom: 10%; }
  .about-declaration { margin-top: 12px; }
}
