:root {
  color-scheme: light;
  --ivory: #f5f5ef;
  --paper: #fffefa;
  --ink: #191a20;
  --muted: #555963;
  --line: #d9dcd8;
  --frost: #78a9c0;
  --frost-deep: #355d70;
  --teal: #244956;
  --teal-light: #9ec9d7;
  --wordmark-orange: #d87932;
  font: 16px/1.55 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--ivory);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p { margin: 0; }
body { min-width: 320px; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid var(--frost-deep); outline-offset: 4px; border-radius: 2px; }
.wrap { width: min(1552px, calc(100% - 96px)); margin-inline: auto; }
.header { background: var(--ivory); }
.bar { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 1.04rem; font-weight: 750; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.brand img { display: block; width: 210px; height: 52px; object-fit: contain; clip-path: inset(0 68% 0 0); }
.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: var(--wordmark-orange);
  -webkit-mask-image: url("/site/assets/dg-zero-shot-logo.png");
  mask-image: url("/site/assets/dg-zero-shot-logo.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  clip-path: inset(0 0 0 31%);
}
.footer-brand .brand img { width: 170px; height: 42px; }
.bar nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.bar nav a, .header-link { color: #3c4650; font-size: .92rem; text-decoration: none; }
.bar nav a:hover, .text-link:hover, .footer a:hover { color: var(--frost-deep); text-decoration: underline; }
.header-link { border: 1px solid #aab4b8; padding: 9px 14px; font-weight: 650; }
.header-link:hover { background: #e8edef; }
.skip { position: absolute; top: 12px; left: 16px; z-index: 4; padding: 9px 16px; color: var(--ink); background: white; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.hero { background: var(--ivory); }
.hero-inner { padding-block: clamp(48px, 5vw, 72px) clamp(54px, 5.5vw, 78px); }
.eyebrow { color: var(--frost-deep); font-size: .76rem; font-weight: 750; letter-spacing: .15em; line-height: 1.35; text-transform: uppercase; }
.hero h1 { max-width: 1130px; margin-top: 16px; font-size: clamp(3.5rem, 6.6vw, 7.2rem); letter-spacing: -.045em; line-height: .93; font-weight: 740; }
.period { color: var(--frost-deep); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 38px; margin-top: clamp(28px, 3.7vw, 48px); }
.hero-bottom > p { max-width: 650px; color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.35rem); line-height: 1.68; }
.hero-actions { display: flex; align-items: center; gap: 28px; padding-bottom: 4px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-width: 190px; padding: 14px 18px; color: #10232c; background: var(--frost); font-weight: 700; text-decoration: none; transition: background-color 160ms ease; }
.button:hover { background: #8cb9ce; }
.text-link { color: var(--frost-deep); font-weight: 700; text-underline-offset: .25em; }
.beta-panel { color: #f5f7f4; background: var(--teal); }
.beta-inner { min-height: 250px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 36px; padding-block: 42px; }
.beta-copy .eyebrow { color: #dbe8e9; }
.beta-copy h2 { margin-top: 12px; font-size: clamp(2.5rem, 4vw, 4rem); letter-spacing: -.045em; line-height: .96; }
.beta-copy > p:not(.eyebrow) { margin-top: 12px; color: #d3e0e0; font-size: 1.05rem; }
.beta-panel .button { color: #10232c; background: var(--teal-light); }
.beta-panel .button:hover { background: #b2d4de; }
.principles { padding-block: clamp(50px, 6vw, 82px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head h2 { max-width: 720px; margin-top: 16px; font-size: clamp(2.5rem, 5vw, 5.2rem); letter-spacing: -.045em; line-height: .98; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.principle-grid article { padding: 24px 26px 22px 0; }
.principle-grid article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.number { color: var(--frost-deep); font-size: .77rem; font-weight: 750; letter-spacing: .12em; }
.principle-grid h3 { margin-top: 22px; font-size: 1.35rem; letter-spacing: -.035em; }
.principle-grid p { max-width: 35ch; margin-top: 7px; color: var(--muted); }
.page { min-height: 58vh; padding-block: clamp(58px, 8vw, 110px); }
.page h1 { margin-top: 17px; margin-bottom: 32px; font-size: clamp(3.3rem, 8vw, 8rem); letter-spacing: -.045em; line-height: .92; }
.page-copy { max-width: 68ch; color: var(--muted); font-size: 1.15rem; }
.page-copy + .page-copy { margin-top: 24px; }
.about-page { display: flex; flex-direction: column; align-items: flex-start; }
.about-content { max-width: 760px; margin-top: 58px; }
.about-content h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); letter-spacing: -.04em; }
.about-content p { max-width: 65ch; margin-top: 12px; color: var(--muted); font-size: 1.08rem; }
.about-beta { width: min(860px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); }
.about-beta h2 { font-size: 1.5rem; letter-spacing: -.035em; }
.about-beta > div > p:not(.eyebrow) { margin-top: 5px; color: var(--muted); }
.about-beta .button { flex-shrink: 0; }
.brand-origin { max-width: 760px; margin: auto 0 0 auto; padding-top: 22px; border-top: 1px solid var(--line); color: var(--frost-deep); font-family: "Segoe Print", "Bradley Hand", "Apple Chancery", cursive; font-size: 1.03rem; line-height: 1.7; }
@media (max-width: 620px) {
  .about-content { margin-top: 42px; }
  .about-beta { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 38px; }
  .brand-origin { margin-top: 48px; font-size: 1rem; }
}

.page .button { margin-top: 26px; }
.empty, .catalog-list li { max-width: 790px; padding: clamp(24px, 4vw, 42px); background: var(--paper); border: 1px solid var(--line); }
.empty h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.04em; }
.empty p, .catalog-list p { max-width: 62ch; margin-top: 9px; color: var(--muted); }
.catalog-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.catalog-list h2 { font-size: 1.5rem; letter-spacing: -.04em; }
.status { display: inline-block; margin-top: 16px; padding: 4px 8px; color: var(--frost-deep); border: 1px solid #aac0c9; font-size: .82rem; }
.footer { padding-top: 46px; color: #f0f4f1; background: #192e36; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 34px; padding-bottom: 36px; }
.footer .brand { color: #f4f6f2; }
.footer p { margin-top: 10px; color: #c0d0d1; font-size: .9rem; }
.footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 10px 18px; }
.footer nav a { color: #d4dfe0; font-size: .91rem; text-decoration: none; }
.footer-note { padding-block: 16px 22px; color: #aebfc1; border-top: 1px solid #40545a; font-size: .8rem; }
@media (max-width: 820px) {
  .wrap { width: calc(100% - 48px); }
  .bar { min-height: 74px; gap: 16px; }
  .bar nav { gap: 16px; }
  .beta-inner { min-height: 220px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .bar { display: grid; grid-template-columns: 1fr auto; padding-block: 12px; }
  .brand img { width: 174px; height: 44px; }
  .footer-brand .brand img { width: 158px; height: 39px; }
  .bar nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 12px; }
  .bar nav a { font-size: .85rem; }
  .header-link { padding: 8px 10px; font-size: .8rem; }
  .hero-inner { padding-block: 58px 66px; }
  .hero h1 { font-size: clamp(3.25rem, 12vw, 4.8rem); }
  .hero-bottom { margin-top: 30px; }
  .hero-actions { flex-wrap: wrap; gap: 18px; }
  .beta-inner { grid-template-columns: 1fr; justify-items: start; gap: 22px; padding-block: 40px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article + article { padding: 21px 0; border-left: 0; }
  .principle-grid article + article { border-top: 1px solid var(--line); }
  .principle-grid h3 { margin-top: 13px; }
  .section-head { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* Products project showcase */
.products-page { padding-top: clamp(46px, 6vw, 76px); }
.products-page h1 { max-width: 980px; margin-top: 12px; margin-bottom: 12px; font-size: clamp(2.9rem, 6vw, 5.6rem); line-height: .98; }
.products-intro { max-width: 62ch; color: var(--muted); font-size: clamp(1.02rem, 1.25vw, 1.16rem); }
.featured-project { display: grid; grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(32px, 5vw, 76px); margin-top: clamp(38px, 5vw, 64px); padding: clamp(22px, 3.4vw, 48px); background: var(--paper); border: 1px solid var(--line); }
.project-label { display: flex; align-items: center; gap: 10px; color: var(--frost-deep); font-size: .74rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.project-label span { padding: 4px 8px; color: #263f48; background: #e6eff0; letter-spacing: .08em; }
.project-copy h2 { max-width: 12ch; margin-top: 20px; font-size: clamp(2rem, 3.5vw, 3.5rem); letter-spacing: -.045em; line-height: .98; }
.project-copy > p:not(.project-label) { max-width: 44ch; margin-top: 14px; color: var(--muted); }
.project-copy .project-availability { color: var(--frost-deep) !important; font-weight: 650; }
.project-copy .button { margin-top: 24px; }
.project-preview { min-width: 0; margin: 0; }
.preview-window { position: relative; min-height: 390px; overflow: hidden; padding: 24px clamp(22px, 3vw, 42px); color: #f5f7f4; background: radial-gradient(ellipse at 74% 32%, #3b6879 0, #274b58 36%, #1b353e 77%); }
.preview-window::before, .preview-window::after { position: absolute; content: ""; pointer-events: none; border: 1px solid rgba(190, 223, 229, .35); transform: rotate(-22deg); }
.preview-window::before { width: 125%; height: 72%; right: -31%; top: 14%; }
.preview-window::after { width: 110%; height: 58%; right: -28%; top: 28%; }
.preview-topline, .preview-caption { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #c7dadd; font-size: .68rem; font-weight: 750; letter-spacing: .14em; }
.preview-orbit { position: absolute; width: 260px; height: 260px; right: -8px; top: 74px; border: 1px solid rgba(198, 226, 230, .45); border-radius: 50%; }
.preview-orbit::before, .preview-orbit::after { position: absolute; content: ""; inset: 24px; border: 1px solid rgba(198, 226, 230, .32); border-radius: 50%; }
.preview-orbit::after { inset: 58px; }
.preview-orbit span { position: absolute; z-index: 1; width: 10px; height: 10px; background: #9ec9d7; border-radius: 50%; }
.preview-orbit span:nth-child(1) { top: 20%; left: 13%; }
.preview-orbit span:nth-child(2) { top: 49%; right: 8%; }
.preview-orbit span:nth-child(3) { bottom: 11%; left: 40%; }
.preview-message { position: relative; z-index: 1; width: min(66%, 340px); margin-top: 54px; }
.preview-message p { color: #a9cbd4; font-size: .69rem; font-weight: 750; letter-spacing: .14em; }
.preview-message strong { display: block; margin-top: 10px; font-size: clamp(2.4rem, 4vw, 4.4rem); letter-spacing: -.055em; line-height: .94; }
.preview-steps { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; margin-top: 32px; color: #d5e3e3; font-size: .75rem; }
.preview-steps i { width: clamp(18px, 3vw, 42px); height: 1px; background: #8eb6c2; }
.preview-caption { margin-top: 26px; color: #b5cbcf; font-size: .62rem; }
.project-preview figcaption { margin-top: 9px; color: var(--muted); font-size: .82rem; }
.projects-note { display: flex; align-items: baseline; gap: 22px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }
.projects-note .eyebrow { flex: 0 0 auto; }
.projects-note > p:last-child { color: var(--muted); font-size: .94rem; }
@media (max-width: 820px) {
  .featured-project { grid-template-columns: 1fr; }
  .project-copy h2 { max-width: 18ch; }
  .preview-window { min-height: 350px; }
}
@media (max-width: 620px) {
  .products-page h1 { font-size: clamp(2.65rem, 11vw, 4rem); }
  .featured-project { gap: 28px; padding: 20px; }
  .preview-window { min-height: 310px; padding: 18px; }
  .preview-orbit { width: 205px; height: 205px; right: -35px; top: 72px; }
  .preview-message { width: 72%; margin-top: 52px; }
  .preview-message strong { font-size: clamp(2.35rem, 10vw, 3.4rem); }
  .preview-steps { gap: 8px; font-size: .68rem; }
  .preview-steps i { width: 16px; }
  .projects-note { display: block; }
  .projects-note > p:last-child { margin-top: 8px; }
}

/* iOS beta screenshot viewer */
.beta-gallery { padding: 12px; border: 1px solid var(--line); }
.beta-gallery legend { padding-inline: 8px; color: var(--frost-deep); font-weight: 700; }
.beta-gallery input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.beta-gallery label { display: inline-block; margin: 0 5px 10px 0; padding: 7px 12px; border: 1px solid var(--line); cursor: pointer; }
.beta-gallery input:checked + label { background: var(--frost); color: #10232c; }
.beta-gallery input:focus-visible + label { outline: 3px solid var(--frost-deep); outline-offset: 2px; }
.beta-screen { display: none; margin: 0; }
#beta-home:checked ~ .beta-screen-home,
#beta-chat:checked ~ .beta-screen-chat,
#beta-voice:checked ~ .beta-screen-voice { display: block; }
.beta-screen a { display: grid; place-items: center; padding: 14px; background: #192e36; }
.beta-screen img { display: block; width: min(100%, 240px); height: auto; border-radius: 12px; }
.beta-screen a:focus-visible { outline-offset: 2px; }

/* Screenshot carousel controls */
.beta-carousel-controls:not([hidden]) { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.beta-carousel-controls button { background: var(--paper); color: var(--frost-deep); border: 1px solid var(--line); padding: 8px 12px; min-height: 44px; font: inherit; cursor: pointer; }
.beta-carousel-controls button:hover { background: var(--frost); color: #10232c; }
.beta-carousel-controls button:focus-visible { outline: 3px solid var(--frost-deep); outline-offset: 2px; }
.beta-carousel-count { min-width: 6em; text-align: center; color: var(--muted); font-size: .85rem; }
.beta-gallery[data-carousel] .beta-screen a { overflow: hidden; touch-action: pan-y pinch-zoom; }
.beta-gallery[data-direction="previous"] { --beta-slide-offset: -30px; }
@media (prefers-reduced-motion: no-preference) {
  .beta-gallery[data-carousel] .beta-screen img { animation: beta-slide-in 260ms ease-out; }
}
@keyframes beta-slide-in {
  from { opacity: .4; transform: translateX(var(--beta-slide-offset, 30px)); }
}
