:root {
  --ink: #111827;
  --ink-soft: #334155;
  --muted: #64748b;
  --paper: #eef8ff;
  --paper-2: #fbfdff;
  --panel: #ffffff;
  --teal: #0891b2;
  --teal-dark: #0f6674;
  --amber: #f59e0b;
  --blue: #0a84ff;
  --sky: #dff4ff;
  --sky-soft: #f4fbff;
  --orange: #ea580c;
  --lime: #65a30d;
  --red: #dc2626;
  --line: #cde4f2;
  --shadow: 0 18px 48px rgba(14, 96, 137, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #e8f7ff 0%, #ffffff 32%, #f4fbff 70%, #ffffff 100%);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(189, 221, 238, 0.76);
  background: rgba(246, 252, 255, 0.86);
  backdrop-filter: saturate(160%) blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #75d4ff;
}

.brand span {
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--teal-dark);
  background: rgba(8, 145, 178, 0.09);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #ffffff;
  background: var(--teal-dark);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.button:hover {
  background: #0b5561;
}

.button.secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.button.secondary:hover {
  background: #eef7f8;
}

.button.amber {
  color: #ffffff;
  background: var(--blue);
}

.button.amber:hover {
  background: #006edb;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.64) 0%, rgba(225, 246, 255, 0.38) 34%, rgba(226, 244, 255, 0.06) 66%),
    url("../images/dingo-hero.png") center right / cover no-repeat;
  color: var(--ink);
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero .slogan {
  max-width: 600px;
  margin: 24px 0 0;
  color: #0f5261;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 850;
}

.hero p:not(.eyebrow):not(.slogan) {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

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

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 32px));
  margin: -48px auto 0;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.trust-item {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.4rem;
  line-height: 1;
}

.trust-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.section {
  padding: 84px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(241, 249, 255, 0.78));
}

.section.paper {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.section.dark {
  color: var(--ink);
  background: linear-gradient(180deg, #e6f6ff 0%, #ffffff 100%);
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.dark .section-head p {
  color: var(--muted);
}

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

.feature-card,
.price-card,
.content-card,
.form-panel,
.support-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(14, 96, 137, 0.06);
}

.feature-card {
  padding: 26px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  margin-bottom: 16px;
  color: #ffffff;
  background: var(--teal);
  font-weight: 950;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  background: var(--amber);
  color: #1f1300;
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
  background: var(--lime);
}

.feature-card h3,
.price-card h3,
.support-item h3,
.content-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.feature-card p,
.price-card p,
.support-item p,
.content-card p,
.legal p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.mascot-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(189, 221, 238, 0.9);
  background: linear-gradient(180deg, #eaf8ff, #ffffff);
}

.mascot-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: inherit;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: inset 0 0 0 5px #fff4ce;
}

.scroll-experiences {
  background: linear-gradient(180deg, #ffffff 0%, #e8f7ff 22%, #ffffff 76%, #f5fbff 100%);
}

.scroll-scene {
  min-height: 108vh;
  display: flex;
  align-items: center;
  --scene-opacity: 0.55;
  --scene-scale: 0.97;
}

.scroll-scene:nth-child(2) {
  background: linear-gradient(180deg, rgba(235, 248, 255, 0.1), rgba(221, 244, 255, 0.88), rgba(255, 255, 255, 0.66));
}

.scroll-scene-inner {
  position: sticky;
  top: 96px;
  width: min(1180px, calc(100% - 32px));
  min-height: min(680px, calc(100vh - 132px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: center;
  opacity: var(--scene-opacity);
  transform: scale(var(--scene-scale));
  transition: opacity 220ms ease, transform 220ms ease;
}

.scroll-copy {
  max-width: 560px;
}

.scroll-copy h2 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.scroll-copy p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.scroll-visual {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(189, 221, 238, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(225, 246, 255, 0.92));
  box-shadow: var(--shadow);
}

.scroll-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.scroll-visual.is-cinematic img {
  aspect-ratio: 16 / 10;
}

html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 640ms ease, transform 640ms ease;
}

html.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-scene-inner {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.plan-kicker {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: end;
  gap: 4px;
  margin: 18px 0 10px;
}

.price strong {
  font-size: 3.1rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.price span {
  color: var(--muted);
  font-weight: 800;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 26px;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
}

.price-card .button {
  margin-top: auto;
}

.page-hero {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.76) 0%, rgba(227, 246, 255, 0.56) 48%, rgba(227, 246, 255, 0.24) 100%),
    url("../images/dingo-dashboard.png") center right / cover no-repeat;
}

.page-hero .wrap {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0;
}

.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.page-hero p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.content-card {
  padding: 28px;
}

.content-card + .content-card {
  margin-top: 18px;
}

.legal h2,
.legal h3 {
  margin: 0 0 10px;
}

.legal p + h2,
.legal p + h3 {
  margin-top: 28px;
}

.legal p + p {
  margin-top: 14px;
}

.side-mascot {
  position: sticky;
  top: 102px;
  overflow: hidden;
}

.side-mascot img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.side-mascot .content-card {
  margin-top: 14px;
}

.login-layout {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  background: linear-gradient(120deg, #e8f7ff, #ffffff);
}

.login-art {
  display: flex;
  min-height: 100%;
  padding: 48px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(238, 249, 255, 0.92), rgba(255, 255, 255, 0.58)),
    url("../images/dingo-dashboard.png") center / cover no-repeat;
}

.login-art-copy {
  align-self: flex-end;
  max-width: 540px;
}

.login-art h1 {
  max-width: 10ch;
  margin-bottom: 18px;
}

.login-art p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.login-panel-wrap {
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.form-panel {
  width: min(100%, 460px);
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-panel h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.form-panel p {
  margin: 0 0 24px;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 850;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: #ffffff;
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.form-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-meta a,
.form-panel a {
  color: var(--teal-dark);
  font-weight: 800;
}

.auth-section {
  display: none;
}

.auth-section.is-active {
  display: block;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px;
  border-radius: 6px;
  color: #174315;
  background: #dcfce7;
  font-weight: 750;
}

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

.support-item {
  padding: 24px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 28px;
}

.footer {
  background: linear-gradient(180deg, #e8f7ff 0%, #ffffff 100%);
  color: var(--ink-soft);
  border-top: 1px solid rgba(189, 221, 238, 0.76);
}

.footer-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 34px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(150px, 1fr));
  gap: 28px;
}

.footer .brand {
  color: var(--ink);
}

.footer p {
  max-width: 360px;
  margin: 14px 0 0;
}

.footer h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer a {
  display: block;
  padding: 5px 0;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer a:hover {
  color: var(--teal-dark);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(189, 221, 238, 0.9);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .trust-row,
  .feature-grid,
  .pricing-grid,
  .support-grid,
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .content-grid,
  .contact-layout,
  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-art {
    min-height: 430px;
  }

  .side-mascot {
    position: static;
  }

  .scroll-scene {
    min-height: auto;
    padding: 72px 0;
  }

  .scroll-scene-inner {
    position: relative;
    top: auto;
    min-height: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 620px;
    background:
      linear-gradient(180deg, rgba(248, 252, 255, 0.62), rgba(231, 247, 255, 0.38), rgba(255, 255, 255, 0.58)),
      url("../images/dingo-hero.png") 57% center / cover no-repeat;
  }

  .hero-inner {
    padding: 42px 0 64px;
  }

  .trust-row,
  .feature-grid,
  .pricing-grid,
  .support-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .nav-actions,
  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .login-art {
    padding: 32px 18px;
  }

  .section {
    padding: 58px 0;
  }

  .scroll-copy h2 {
    font-size: clamp(2.2rem, 13vw, 3.5rem);
  }

  .scroll-copy p {
    font-size: 1rem;
  }
}
