/* PromptMyCloud — Isobar Atlas (Stitch design system)
   Distinct from OpenCloud terminal/lime DNA. */
:root {
  --ink: #0b1f33;
  --ink-deep: #00050e;
  --on-surface: #0e1d28;
  --mute: #44474c;
  --outline: #74777d;
  --line: rgba(116, 119, 125, 0.22);
  --paper: #f6faff;
  --mist: #ebf5ff;
  --white: #ffffff;
  --cyan: #00677f;
  --cyan-soft: #84d1ed;
  --amber: #c9852a;
  --display: "Bodoni Moda", "Times New Roman", Times, serif;
  --sans: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: min(100% - 2rem, 1440px);
  --pad: clamp(1rem, 4vw, 4rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--on-surface);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
button { font: inherit; cursor: pointer; color: inherit; }
.shell { width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.5rem 1rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 4.25rem;
}
.logo {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  text-decoration: none;
  margin-right: auto;
}
.nav { display: flex; gap: 1.5rem; }
.nav a {
  text-decoration: none;
  color: var(--mute);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a:hover { color: var(--ink); }
.burger {
  display: none; width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--line); background: var(--white);
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.burger span { width: 1.05rem; height: 1.5px; background: var(--ink); }
.drawer {
  display: none; flex-direction: column; gap: 0.25rem;
  padding: 0.5rem var(--pad) 1rem; border-top: 1px solid var(--line);
}
.drawer a {
  text-decoration: none; color: var(--ink); padding: 0.7rem 0;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 0.95rem; }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-deep); color: #fff; }
.btn-ghost {
  background: color-mix(in srgb, var(--white) 55%, transparent);
  border-color: color-mix(in srgb, var(--outline) 45%, transparent);
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--mist); color: var(--ink); }
.btn-outline-light {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex; align-items: center;
  overflow: hidden;
  padding: 7rem 0 4.5rem;
}
.hero__scene { position: absolute; inset: 0; z-index: 0; }
.hero__photo {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  animation: haze 22s var(--ease) infinite alternate;
}
.hero__isobars {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: var(--ink);
  opacity: 0.28;
  pointer-events: none;
}
.hero__isobars .iso {
  stroke-dasharray: 8 14;
  animation: iso-drift 18s linear infinite;
}
.hero__isobars .iso-b { animation-duration: 24s; animation-direction: reverse; opacity: 0.85; }
.hero__isobars .iso-c { animation-duration: 28s; stroke-width: 0.9; }
.hero__isobars .iso-d { animation-duration: 32s; animation-direction: reverse; }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(246,250,255,0.94) 0%, rgba(246,250,255,0.72) 42%, rgba(246,250,255,0.15) 78%, transparent 100%);
}
.hero__copy {
  position: relative; z-index: 1;
  max-width: 52rem;
  animation: rise 0.85s var(--ease) both;
}
.hero__brand {
  margin: 0 0 1.1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.4rem, 11vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--ink-deep);
}
.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 550;
  font-size: clamp(1.7rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  max-width: 14ch;
}
.hero__lead {
  margin: 1.25rem 0 0;
  max-width: 36ch;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--mute);
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 2rem;
  animation: rise 0.85s 0.12s var(--ease) both;
}

/* Legend */
.legend {
  border-block: 1px solid var(--line);
  background: var(--white);
}
.legend__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.legend__grid > div {
  padding: 1.5rem 1.25rem;
  border-left: 1px solid var(--line);
}
.legend__grid > div:first-child { border-left: 0; }
.legend__n {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.65rem;
}
.legend__grid p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--mute);
}

/* Blocks */
.block { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.block--chart { background: var(--mist); border-block: 1px solid var(--line); }
.block__head { max-width: 40rem; margin-bottom: 2.75rem; }
.block__head--center { margin-inline: auto; text-align: center; }
.block__head h2,
.chart__aside h2,
.price__copy h2,
.closer h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}
.block__head p,
.chart__aside > p,
.price__copy p {
  margin: 1rem 0 0;
  color: var(--mute);
  font-size: 1.08rem;
  max-width: 42ch;
}

/* Seals */
.seals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.seal {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--amber);
  background: rgba(201, 133, 42, 0.04);
}
.seal h3 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: -0.01em;
}
.seal p { margin: 0; color: var(--on-surface); font-size: 0.98rem; }

/* Chart / architecture */
.chart {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.chart__list {
  list-style: none; margin: 2rem 0 0; padding: 0;
}
.chart__list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.98rem;
}
.chart__list span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.chart__panel {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle, rgba(196,198,205,0.35) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--white);
  min-height: 22rem;
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: center;
}
.flow {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.flow__node,
.flow__box {
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 1.25rem 1.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.flow__node {
  width: 6.5rem; height: 6.5rem; border-radius: 50%;
  display: grid; place-items: center;
}
.flow__pipe {
  flex: 1; min-width: 5rem; height: 1px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
  position: relative;
}
.flow__pipe span {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  padding: 0 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.flow__stack { display: grid; gap: 0.75rem; flex: 1; min-width: 12rem; }
.flow__box--mute {
  border-color: color-mix(in srgb, var(--ink) 35%, transparent);
  color: var(--mute);
  background: var(--white);
}
.flow__note {
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  color: var(--mute);
}

/* Price */
.price {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.price__card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.price__kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.price__amount {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.price__hint {
  margin: 0.2rem 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.95rem;
}
.price__card ul {
  list-style: none; margin: 0 0 1.75rem; padding: 0;
}
.price__card li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.2rem;
  border-bottom: 1px solid rgba(116,119,125,0.12);
  color: var(--on-surface);
}
.price__card li::before {
  content: "";
  position: absolute; left: 0; top: 1rem;
  width: 0.45rem; height: 0.45rem;
  background: var(--cyan);
}
.price__card .btn { width: 100%; }

/* Table */
.table { border-top: 1px solid var(--line); }
.table__row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border-bottom: 1px solid rgba(116,119,125,0.12);
}
.table__row > div { padding: 1.25rem 1rem; font-size: 0.98rem; }
.table__row--head {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.table__row--head > div:nth-child(2) {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
}
.table__row--head > div:nth-child(3) {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  color: rgba(14,29,40,0.35);
}
.table__row [role="rowheader"] { font-weight: 600; }
.table__row > div:nth-child(2) { color: var(--ink); font-weight: 500; }
.table__row > div:nth-child(3) { color: var(--mute); }

/* Closer */
.closer {
  background: linear-gradient(160deg, var(--ink-deep) 0%, var(--ink) 55%, #083041 100%);
  color: #fff;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.closer__inner { max-width: 40rem; }
.closer h2 { color: #fff; }
.closer p {
  margin: 1rem 0 0;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
}
.closer__actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 2rem;
}
.closer__mail {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--cyan-soft);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.closer__mail:hover { color: #fff; }

/* Footer */
.foot {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
}
.foot__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
}
.foot__brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
}
.foot__note { margin: 0.35rem 0 0; color: var(--mute); font-size: 0.9rem; }
.foot__note a { color: var(--mute); }
.foot__links { display: flex; gap: 1.1rem; }
.foot__links a {
  text-decoration: none; color: var(--mute);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.foot__links a:hover { color: var(--ink); }

/* Cookie */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
  max-width: 520px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 0.85rem;
  align-items: center; justify-content: space-between;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  animation: rise 0.45s var(--ease) both;
}
.cookie[hidden] { display: none !important; }
.cookie p { margin: 0; flex: 1 1 220px; font-size: 0.9rem; color: var(--mute); }
.cookie__actions { display: flex; gap: 0.4rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes haze {
  from { transform: scale(1) translate3d(0,0,0); }
  to { transform: scale(1.04) translate3d(-1.5%, 1%, 0); }
}
@keyframes iso-drift {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -220; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__photo, .hero__isobars .iso, .hero__copy, .hero__cta, .cookie {
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .seals { grid-template-columns: repeat(2, 1fr); }
  .chart, .price { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav, .top__inner > .btn { display: none; }
  .burger { display: inline-flex; }
  .drawer.is-open { display: flex; }
  .legend__grid { grid-template-columns: 1fr 1fr; }
  .legend__grid > div { border-left: 0; border-top: 1px solid var(--line); }
  .legend__grid > div:nth-child(-n+2) { border-top: 0; }
  .table__row { grid-template-columns: 1fr; }
  .table__row--head { display: none; }
  .table__row > div:nth-child(2)::before {
    content: "PromptMyCloud · ";
    color: var(--mute); font-weight: 600;
  }
  .table__row > div:nth-child(3)::before {
    content: "Google · ";
    color: var(--mute); font-weight: 600;
  }
}

@media (max-width: 520px) {
  .seals { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 6rem; }
}
