/* DANGO static landing page. No JavaScript, framework or build step. */
:root {
  color-scheme: light;
  --ink: #14201f;
  --muted: #596762;
  --line: #ddd8a9;
  --paper: #ffffdd;
  --panel: #fffff2;
  --green: #1f7a5a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #a33b77; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { line-height: .9; }
h2 { margin-bottom: 0; font-size: 1.28rem; }
.brand-lockup { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand-logo { display: block; height: auto; object-fit: contain; }
.eyebrow { margin: 0 0 6px; color: var(--green); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 10; padding: 12px 16px; background: white; color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
section[id] { scroll-margin-top: 20px; }

.landing {
  min-height: 100vh;
  background: var(--paper);
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px clamp(18px, 5vw, 52px);
  border-bottom: 1px solid var(--line);
  background: #f8f8f8;
}

.landing-brand {
  border: 0 !important;
  padding: 0 !important;
}

.landing-brand > span:last-child {
  display: grid;
  gap: 2px;
}

.landing-brand {
  gap: 10px;
}

.landing-nav strong {
  font-size: 1.4rem;
  letter-spacing: 0;
}

.landing-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.landing-nav-links a,
.landing-actions a {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 11px;
  text-decoration: none;
  font-weight: 800;
}

.hero-brand {
  margin-bottom: 20px;
}

.landing .brand-logo {
  width: clamp(36px, 4.2vw, 48px);
}

.landing .landing-nav-logo {
  width: clamp(130px, 14vw, 180px);
}

.hero-brand .brand-logo {
  width: clamp(64px, 8vw, 96px);
}

.landing-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(430px, calc(100vh - 182px), 690px);
  padding: clamp(30px, 5vw, 58px) clamp(18px, 5vw, 52px);
  overflow: hidden;
  background: #121b18;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 19, 16, 0.9) 0%, rgba(10, 19, 16, 0.72) 40%, rgba(10, 19, 16, 0.22) 100%),
    linear-gradient(0deg, rgba(10, 19, 16, 0.34), rgba(10, 19, 16, 0.04));
  pointer-events: none;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(255, 221, 255, 0.72);
  border-radius: 8px;
  pointer-events: none;
}

.landing-image-tiles {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  padding: 0;
  background: #121b18;
}

.landing-image-tiles img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(1.05) contrast(1.04);
}

.landing-image-tiles .tile-large {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.landing-image-tiles .tile-sar {
  grid-column: 2;
  grid-row: 1;
}

.landing-image-tiles .tile-change {
  grid-column: 2;
  grid-row: 2;
}

.landing-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.landing-copy .eyebrow {
  color: #ffddff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
}

.landing-copy h1 {
  color: #ffffff;
  font-size: clamp(2.35rem, 4.7vw, 3.8rem);
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

.landing-lede {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.92rem, 1.25vw, 1.04rem);
  line-height: 1.42;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.landing-actions .landing-primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.landing-actions .landing-trial,
.landing-nav-links a:last-child {
  border-color: #d58da3;
  background: #fff6fa;
  color: #8f2c4c;
}

.landing-actions a:not(.landing-primary):not(.landing-trial) {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.86);
  color: #1f342c;
}

.trial-note {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.landing-image-caption {
  position: absolute;
  right: clamp(18px, 3.6vw, 42px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 3;
  max-width: min(520px, calc(100% - 44px));
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  padding: 0;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  text-align: right;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.54);
  text-transform: uppercase;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.88fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  padding: clamp(24px, 3.6vw, 42px) clamp(18px, 5vw, 52px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.pricing-head {
  align-self: center;
  max-width: 420px;
}

.pricing-head h2 {
  font-size: clamp(1.35rem, 2.35vw, 1.95rem);
  line-height: 1.12;
  margin-bottom: 16px;
  white-space: normal;
}

.pricing-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 1180px;
  justify-self: end;
}

.pricing-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
}

.pricing-card-featured {
  border-color: #d58da3;
  background: #fff6fa;
}

.pricing-card-muted {
  background: #fffff7;
}

.pricing-kicker {
  display: block;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 4px 0 0;
  font-size: 1.08rem;
}

.pricing-price {
  margin: 8px 0 0;
  color: #8f2c4c;
  font-size: 1.28rem;
  font-weight: 900;
}

.pricing-price span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.pricing-token-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.pricing-card li {
  white-space: normal;
}

.pricing-action {
  display: inline-grid;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d58da3;
  border-radius: 6px;
  background: #fff;
  color: #8f2c4c;
  padding: 9px 10px;
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.pricing-action-live {
  border-color: #8f2c4c;
  background: #8f2c4c;
  color: #fff;
  box-shadow: 0 8px 18px rgba(143, 44, 76, 0.18);
}

.pricing-action-live:hover {
  border-color: #6f2139;
  background: #6f2139;
  color: #fff;
}

.legal-note {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 7px clamp(18px, 5vw, 52px);
  border-top: 1px solid #d9aaa3;
  border-bottom: 1px solid #d9aaa3;
  background: #fff6fa;
  color: #9d2f20;
}

.legal-copy {
  display: grid;
  gap: 2px;
  max-width: none;
}

.legal-copy p {
  color: #9d2f20;
  line-height: 1.18;
  margin-bottom: 0;
  font-size: 0.72rem;
}

.legal-copy p:last-child {
  margin-bottom: 0;
}

.legal-note h2 {
  color: #9d2f20;
  font-size: 0.86rem;
  margin-bottom: 0;
}

.site-footer {
  padding: 10px clamp(18px, 4vw, 48px) 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
  text-align: right;
}

/* Responsive video frame also supports a self-hosted HTML video element. */
.video-section {
  padding: 42px clamp(18px, 5vw, 52px);
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.video-head, .video-frame, .video-note {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.video-head { margin-bottom: 24px; }
.video-head h2 { font-size: clamp(1.35rem, 2.35vw, 1.95rem); line-height: 1.12; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 202px; /* 200px player viewport plus the border. */
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121b18;
}

.video-frame iframe, .video-frame video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame video { object-fit: contain; }
.video-note { margin-top: 12px; margin-bottom: 0; font-size: .86rem; line-height: 1.5; text-align: right; }
.video-note a { color: var(--green); text-underline-offset: 3px; }

/* Previously generated images are opened with native HTML disclosures. */
.samples-section {
  padding: 42px clamp(18px, 5vw, 52px);
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.samples-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.samples-head h2 {
  font-size: clamp(1.35rem, 2.35vw, 1.95rem);
  line-height: 1.12;
}

.samples-head > p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.sample-locations {
  border-top: 1px solid var(--line);
}

.sample-location {
  border-bottom: 1px solid var(--line);
}

.sample-location summary {
  position: relative;
  padding: 20px 34px 20px 0;
  cursor: pointer;
  list-style: none;
}

.sample-location summary::-webkit-details-marker { display: none; }
.sample-location summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 15px;
  color: var(--green);
  font-size: 1.5rem;
}
.sample-location[open] summary::after { content: "−"; }
.sample-location summary:hover .sample-location-name { text-decoration: underline; }
.sample-location-name { font-weight: 800; }
.sample-location-description { margin-left: 18px; color: var(--muted); font-size: .86rem; }

.sample-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 24px;
}

.sample-images figure { margin: 0; min-width: 0; }
.sample-image-link { display: block; border-radius: 6px; }
.sample-images img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #121b18;
}
.sample-images figcaption { display: grid; gap: 4px; padding-top: 12px; }
.sample-images figcaption strong { color: var(--green); font-size: .9rem; }
.sample-images figcaption span, .sample-note { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.sample-note { margin: 18px 0 0; }

/* Let intermediate widths wrap before the cards become too narrow. */
@media (max-width: 1100px) {
  .pricing-section { grid-template-columns: 1fr; }
  .pricing-head { max-width: 680px; }
  .pricing-head h2 { margin-bottom: 12px; }
  .pricing-grid { max-width: none; }
}

@media (max-width: 760px) {
  .landing-nav-links { display: none; }
  .landing-hero { min-height: 540px; padding: 44px 26px 90px; }
  .landing-hero::after { inset: 10px; }
  .landing-image-tiles { grid-template-columns: 1.7fr 1fr; }
  .landing-hero::before { background: linear-gradient(90deg, rgba(10, 19, 16, .91), rgba(10, 19, 16, .56)); }
  .landing-image-caption { right: 26px; bottom: 26px; left: 26px; max-width: none; text-align: left; line-height: 1.4; }
  .landing-lede { line-height: 1.55; }
  .landing-actions a { font-size: .88rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { gap: 18px; padding: 22px; }
  .pricing-card ul { font-size: .88rem; }
  .pricing-action { min-height: 44px; }
  .samples-head { display: block; }
  .samples-head > p { margin-top: 16px; }
  .sample-location-description { display: block; margin: 5px 0 0; }
  .sample-images { grid-template-columns: 1fr; gap: 24px; }
  .legal-note { grid-template-columns: 1fr; padding-top: 18px; padding-bottom: 18px; }
  .legal-copy { gap: 10px; }
  .legal-copy p { line-height: 1.5; }
  .site-footer { text-align: left; line-height: 1.5; }
}

@media print {
  body, .landing, .pricing-section, .video-section, .samples-section { background: white; }
  .skip-link, .landing-nav-links, .landing-actions, .landing-image-tiles,
  .landing-image-caption, .hero-brand, .landing-hero::before, .landing-hero::after, .video-frame { display: none; }
  .landing-hero { min-height: 0; padding: 24px 0; background: white; }
  .landing-copy h1, .landing-copy .eyebrow, .landing-lede, .trial-note { color: #14201f; text-shadow: none; }
  .pricing-section, .video-section, .samples-section, .legal-note { padding: 20px 0; }
  .video-note a::after { content: " (" attr(href) ")"; }
  .pricing-card, .sample-images figure { break-inside: avoid; }
  a { text-decoration: none; }
}

