/* ============================================================
   PADU — Product 018
   Landing page for the RM199 self-serve landing site product.
   Light editorial · cream paper + deep ink + electric blue accent.
   Glass nav on light, icon-only tab bar on mobile, mobile-first.
   ============================================================ */

:root {
  --paper:      #F4F1E8;
  --paper-2:    #ECE6D4;
  --paper-3:    #E0D8C0;
  --ink:        #0F0E0B;
  --ink-2:      #2A2620;
  --ink-3:      #3A352D;
  --bone:       #6B6353;
  --bone-dim:   #998E78;
  --rule:       rgba(15, 14, 11, 0.10);
  --rule-soft:  rgba(15, 14, 11, 0.05);
  --accent:     #2342E8;
  --accent-2:   #1A30B8;
  --accent-soft: rgba(35, 66, 232, 0.08);
  --accent-tint: rgba(35, 66, 232, 0.14);

  --glass-bg:    rgba(244, 241, 232, 0.62);
  --glass-bd:    rgba(15, 14, 11, 0.08);

  --font-display: 'Cormorant Garamond', 'EB Garamond', 'Iowan Old Style', Georgia, serif;
  --font-serif:   'Cormorant Garamond', 'EB Garamond', 'Iowan Old Style', Georgia, serif;
  --font-sans:    -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  --maxw: 1100px;
  --pad:  clamp(20px, 4vw, 56px);
  --radius: 28px;
  --radius-sm: 14px;
}

*,*::before,*::after { box-sizing: border-box; }
html,body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 96px;
}
img,svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.mono { font-family: var(--font-mono); letter-spacing: 0.06em; }
em { font-style: italic; }
code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 1px 6px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper-2);
}

/* ============================================================
   GLASS SURFACE (reusable — no shadow, inset strokes only)
   ============================================================ */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius);
  backdrop-filter: blur(40px) saturate(200%) brightness(1.05);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.05);
}

/* ============================================================
   UTILITY BAR
   ============================================================ */
.util {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  font-size: 10px;
  color: var(--ink-2);
}
.util__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px var(--pad);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.util__logo {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  flex-shrink: 0;
  display: block;
}
.util__brand { color: var(--ink); font-weight: 600; }
.util__sep { flex: 1; height: 1px; background: var(--rule-soft); min-width: 20px; }
.util__count { color: var(--accent); font-weight: 600; }
.util__live { display: inline-flex; align-items: center; gap: 6px; }
.util__pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-tint);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-tint); }
  70%  { box-shadow: 0 0 0 8px rgba(35, 66, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(35, 66, 232, 0); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(24px, 5vw, 56px) var(--pad) clamp(24px, 4vw, 48px);
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(35, 66, 232, 0.10), transparent 60%),
    radial-gradient(ellipse 40% 30% at 0% 100%, rgba(35, 66, 232, 0.06), transparent 60%),
    var(--paper);
  position: relative;
  overflow: hidden;
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
}
.hero__col { min-width: 0; }
.hero__col--art { order: 2; }
@media (max-width: 860px) {
  .hero__col--art { order: 2; }
  .hero__col--text { order: 1; }
}

.hero__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 11px;
  color: var(--bone);
}
.hero__num { color: var(--accent); font-weight: 600; }
.hero__rule { flex: 1; height: 1px; background: var(--rule-soft); }
.hero__cat { letter-spacing: 0.12em; }

.hero__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 11vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 22px;
}
.hero__dot { color: var(--accent); }

.hero__lede {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.5;
  font-style: italic;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 28px;
}

/* stats strip — bigger, with subtle visual weight */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 0 32px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-2);
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background .2s;
}
.hero__stat:last-child { border-right: 0; }
.hero__stat:hover { background: var(--paper); }
.hero__stat--price { background: var(--ink); color: var(--paper); }
.hero__stat--price .hero__statlbl { color: rgba(243, 236, 222, 0.55); }
.hero__stat--price .hero__statnum { color: var(--paper); }
.hero__stat--price .hero__statnum em { color: var(--accent); }

@media (max-width: 680px) {
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__stat:nth-child(1), .hero__stat:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .hero__stat:nth-child(2), .hero__stat:nth-child(4) { border-right: 0; }
  .hero__stat:nth-child(2) { border-right: 1px solid var(--rule); }
}
.hero__statnum {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 400;
}
.hero__statnum em { color: var(--accent); font-style: normal; }
.hero__statlbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__spec {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.hero__spec:hover { color: var(--accent); border-color: var(--accent); }

/* art column */
.hero__art {
  position: relative;
  margin: 0;
}
.hero__art .glass {
  padding: 16px;
  border-radius: var(--radius);
}
.hero__art img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}
.hero__artcap {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  margin-top: 14px;
}

/* mobile hero overrides — per mobile-ui-glass-system skill */
@media (max-width: 680px) {
  .hero {
    padding-top: 8px !important;
    padding-bottom: 24px;
  }
  .hero__name { font-size: clamp(56px, 18vw, 96px) !important; margin-bottom: 16px; }
  .hero__head { margin-bottom: 14px; }
  .hero__lede { margin-bottom: 20px; }
  .hero__stats { margin-bottom: 24px; }
  .hero__stat { padding: 16px 14px; }
}

/* ============================================================
   CTA BUTTONS (shared)
   ============================================================ */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: transform .2s, background .2s, border-color .2s, color .2s;
  cursor: pointer;
}
.cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  transform: translateY(-1px);
}
.cta--accent { background: var(--accent); border-color: var(--accent); }
.cta--accent:hover { background: var(--ink); border-color: var(--ink); }
.cta--pill { padding: 10px 18px; font-size: 13px; }
.cta--big {
  padding: 18px 32px;
  font-size: 16px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 680px) {
  .cta--pill { padding: 8px 12px; font-size: 12px; }
  .cta--big  { padding: 14px 18px; font-size: 14px; }
}

/* placeholder state for CTA */
.cta[data-state="placeholder"] {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   SEGMENT HEAD (shared)
   ============================================================ */
.seg__head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px 24px;
  align-items: baseline;
  padding: 36px 0 24px;
  border-top: 1px solid var(--rule);
  margin-top: 40px;
}
.seg__head:first-child { margin-top: 0; }
.seg__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-weight: 600;
}
.seg__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--ink);
}
.seg__sub {
  grid-column: 2;
  margin: 0;
  font-size: 13px;
  color: var(--bone);
  font-style: italic;
}

/* ============================================================
   SPEC — icon + number + body
   ============================================================ */
.spec {
  padding: 0 var(--pad) 40px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.spec__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.spec__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px 24px;
  padding: 26px 0;
  border-top: 1px solid var(--rule-soft);
  align-items: start;
  position: relative;
}
.spec__row:last-child { border-bottom: 1px solid var(--rule-soft); }
.spec__row::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .25s;
}
.spec__row:hover::before { opacity: 1; }
.spec__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.spec__n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.spec__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.spec__icon svg { width: 22px; height: 22px; }
.spec__row:hover .spec__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  transform: translateY(-1px);
}
.spec__body { min-width: 0; }
.spec__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.spec__line {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}

@media (max-width: 680px) {
  .spec__row { grid-template-columns: 60px 1fr; gap: 16px 18px; padding: 22px 0; }
  .spec__icon { width: 40px; height: 40px; }
  .spec__icon svg { width: 20px; height: 20px; }
  .spec__row::before { left: -12px; }
}

/* ============================================================
   WHO
   ============================================================ */
.who {
  padding: 20px var(--pad) 40px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.who__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 640px) {
  .who__grid { grid-template-columns: 1fr; }
}
.who__card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  position: relative;
  transition: border-color .2s, background .2s, transform .2s;
}
.who__card:hover {
  border-color: var(--accent);
  background: var(--paper);
  transform: translateY(-2px);
}
.who__card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin: 8px 0 8px;
  color: var(--ink);
}
.who__card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}
.who__n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 20px var(--pad) 40px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.faq__list {
  margin: 0;
  padding: 0;
}
.faq__row {
  padding: 22px 0;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 18px 24px;
}
.faq__row:last-child { border-bottom: 1px solid var(--rule-soft); }
.faq__row dt {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.faq__row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
@media (max-width: 640px) {
  .faq__row { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================
   PAY CARD (glass)
   ============================================================ */
.pay {
  padding: 20px var(--pad) 60px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.pay__card {
  margin-top: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.pay__card::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--accent-tint), transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.pay__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule-soft);
  align-items: baseline;
  position: relative;
}
.pay__row:first-child { border-top: 0; padding-top: 0; }
.pay__lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--bone-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pay__val {
  font-size: 15px;
  color: var(--ink);
}
.pay__row--price {
  border-top: 1px solid var(--rule);
  margin-top: 6px;
  padding-top: 18px;
}
.pay__price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pay__card .cta--big { margin-top: 22px; position: relative; }
.pay__note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--bone-dim);
  font-style: italic;
  text-align: center;
  position: relative;
}
.pay__contact {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
  position: relative;
  flex-wrap: wrap;
}
.pay__contactlink {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.pay__contactlink:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 680px) {
  .pay__card { padding: 24px 20px; }
  .pay__row { grid-template-columns: 1fr; gap: 4px; }
  .pay__price { font-size: 40px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 50px var(--pad) 30px;
}
.foot__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.foot__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.foot__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}
.foot__brand {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.foot__dot { color: var(--accent); }
.foot__sub { font-size: 10px; color: var(--bone-dim); letter-spacing: 0.16em; }
.foot__about {
  font-size: 13px;
  color: var(--ink-2);
  margin: 4px 0 0;
  line-height: 1.55;
  max-width: 36ch;
}
.foot__lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--bone-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.foot__col a {
  font-size: 14px;
  color: var(--ink);
  transition: color .2s;
}
.foot__col a:hover { color: var(--accent); }
.foot__addr {
  font-size: 12px;
  color: var(--bone-dim);
  margin-top: 4px;
}
.foot__base {
  max-width: var(--maxw);
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--bone-dim);
  flex-wrap: wrap;
  gap: 12px;
  letter-spacing: 0.06em;
}
@media (max-width: 720px) {
  .foot__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   BOTTOM TAB BAR — mobile-first, icon-only, glass, light
   ============================================================ */
.tab {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
  max-width: calc(100vw - 20px);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  flex-wrap: nowrap;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius);
  backdrop-filter: blur(40px) saturate(200%) brightness(1.05);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.05);
}
.tab__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--bone);
  border-radius: 22px;
  transition: color .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.tab__item svg { width: 22px; height: 22px; }
.tab__item:hover, .tab__item:active {
  color: var(--ink);
  background: var(--accent-soft);
}
.tab__item--pay { color: var(--accent); }
.tab__item--pay:hover { color: var(--paper); background: var(--accent); }

@media (min-width: 1100px) {
  .tab { display: none; }
  body { padding-bottom: 0; }
}
