/* WenWave · wave theme · UAE prop desk · 2026-07-18 */
:root {
  --bg: #e8f4f1;
  --bg2: #d5ebe4;
  --paper: #fffaf3;
  --ink: #14201c;
  --ink-soft: rgba(20,32,28,0.72);
  --ink-mute: rgba(20,32,28,0.45);
  --line: rgba(20,32,28,0.11);
  --accent: #0d7a6f;
  --accent-dark: #0a5f56;
  --accent2: #c4783a;
  --accent2-soft: rgba(196,120,58,0.14);
  --night: #14201c;
  --tile-bg: rgba(255,250,243,0.94);
  --dock-bg: rgba(20,32,28,0.92);
  --maxw: 1120px;
  --head-h: 58px;
  --disp: "Newsreader", Georgia, serif;
  --sans: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font: 400 16.5px/1.7 var(--sans);
  color: var(--ink);
  background: radial-gradient(ellipse 65% 40% at 100% 5%, rgba(13,122,111,0.1), transparent 50%),
    radial-gradient(ellipse 50% 35% at -5% 70%, rgba(196,120,58,0.1), transparent 48%),
    linear-gradient(165deg, #e8f4f1 0%, #eef6f3 40%, #d5ebe4 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 88px;
}
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 80;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: #0d7a6f; color: #fff; }
a { color: var(--accent2); text-decoration: none; }
a:hover { color: var(--accent); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

header.site-head {
  position: sticky; top: 0; z-index: 50; height: var(--head-h);
  background: rgba(255,253,248,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-row {
  display: flex; align-items: center; gap: 12px; height: var(--head-h);
  max-width: var(--maxw); margin: 0 auto; padding: 0 22px;
}
.logo {
  font: 800 1.2rem/1 var(--disp); letter-spacing: -0.03em; color: var(--ink);
  text-decoration: none; flex: 0 0 auto;
}
.logo em { font-style: normal; color: var(--accent); }
.logo .mark {
  display: inline-block; width: 8px; height: 8px; margin-left: 6px;
  border-radius: 50%; background: var(--accent2); vertical-align: middle;
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.mainnav {
  display: flex; gap: 2px 12px; flex-wrap: wrap; margin-left: 8px; margin-right: auto;
  overflow: hidden; max-height: 40px;
}
.nav-pill {
  font: 600 12.5px/1 var(--sans); color: var(--ink-mute); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-pill:hover { color: var(--accent2); border-bottom-color: var(--accent2); }
.nav-pill.is-active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 700; }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 14px/1 var(--sans); padding: 12px 20px; border-radius: 999px;
  border: none; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 28px rgba(13,122,111,0.28);
}
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sheen 3.2s ease-in-out infinite;
}
.btn:hover {
  background: var(--accent-dark); color: #fff; text-decoration: none;
  transform: translateY(-2px) scale(1.02);
}
.btn [aria-hidden="true"] {
  display: inline-block;
  animation: nudge 1.6s ease-in-out infinite;
}
.btn:hover [aria-hidden="true"] { animation: none; transform: translateX(3px); }
.btn-nav { padding: 10px 16px; flex: 0 0 auto; font-size: 13px; }
.btn-nav::after { animation-duration: 4s; }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn-ghost::after { display: none; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.cta-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px;
  animation: rise 0.7s var(--ease) 0.22s both;
}

/* Full-bleed hero */
.hero {
  position: relative; min-height: min(92vh, 720px);
  display: flex; align-items: flex-end; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
  animation: hero-fade 1.1s var(--ease) both, ken 18s ease-in-out 1.1s infinite alternate;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(232,244,241,0.93) 0%, rgba(232,244,241,0.58) 48%, rgba(232,244,241,0.16) 100%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%;
  padding: clamp(48px, 10vh, 100px) 0 clamp(40px, 7vh, 72px);
}
.brand-hero {
  font: 800 clamp(2.1rem, 6.2vw, 3.8rem)/1.08 var(--disp);
  letter-spacing: -0.04em; color: var(--ink);
  animation: rise 0.65s var(--ease) 0.04s both;
  max-width: 18ch;
}
.brand-hero span { color: var(--accent); }
.hero h1 {
  font: 600 clamp(1.35rem, 3.2vw, 2rem)/1.25 var(--disp);
  letter-spacing: -0.02em; max-width: 22ch; margin-top: 10px;
  color: var(--ink); animation: rise 0.7s var(--ease) 0.1s both;
}
.lede {
  font: 400 1.05rem/1.65 var(--sans); color: var(--ink-soft);
  max-width: 46ch; margin-top: 14px;
  animation: rise 0.75s var(--ease) 0.16s both;
}
.kicker {
  font: 700 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 10px;
  animation: rise 0.55s var(--ease) both;
}
.sheet-hero {
  min-height: auto; align-items: center;
  padding: 48px 0 36px; border-bottom: 1px solid var(--line);
}
.sheet-hero .hero-bg { opacity: 0.35; }
.sheet-hero .hero-bg img { animation: hero-fade 0.9s var(--ease) both; }
.sheet-hero .brand-hero { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* Scatter tiles */
.scatter { padding: clamp(40px, 7vh, 72px) 0; }
.scatter-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}
.scatter-head h2 {
  font: 700 clamp(1.5rem, 3vw, 2rem)/1.2 var(--disp); letter-spacing: -0.02em;
}
.scatter-tag {
  font: 700 11px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute); border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px;
}
.mosaic {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px;
}
.tile {
  grid-column: span 4; position: relative; display: flex; flex-direction: column;
  background: var(--tile-bg); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 20px 18px; text-decoration: none; color: inherit; overflow: hidden;
  min-height: 188px; transition: transform 0.25s var(--ease), border-color 0.2s;
  animation: tile-rise 0.7s var(--ease) both;
}
.tile:nth-child(1) { animation-delay: 0.05s; }
.tile:nth-child(2) { animation-delay: 0.1s; }
.tile:nth-child(3) { animation-delay: 0.15s; }
.tile:nth-child(4) { animation-delay: 0.2s; }
.tile:nth-child(5) { animation-delay: 0.25s; }
.tile:nth-child(6) { animation-delay: 0.3s; }
.tile:hover { transform: translateY(-4px); border-color: var(--accent); color: inherit; }
.tile-art {
  position: absolute; right: -6px; bottom: -10px; width: 108px; height: 108px;
  opacity: 0.42; pointer-events: none; z-index: 0;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}
.tile:hover .tile-art { opacity: 0.58; transform: translate(-4px, -4px) scale(1.04); }
.tile > *:not(.tile-art) { position: relative; z-index: 1; }
.tile .n {
  font: 700 11px/1 var(--sans); letter-spacing: 0.12em; color: var(--accent);
  margin-bottom: 10px;
}
.tile .q { font: 700 1.15rem/1.25 var(--disp); letter-spacing: -0.02em; max-width: 16ch; }
.tile .val { font: 600 0.95rem/1.3 var(--sans); color: var(--accent2); margin: 6px 0; }
.tile .cap { font-size: 0.9rem; color: var(--ink-mute); flex: 1; max-width: 28ch; }
.tile .go {
  display: flex; justify-content: space-between; margin-top: 14px;
  font: 700 13px/1 var(--sans); color: var(--ink);
}
.tile.wide { grid-column: span 6; }
.tile.wide .tile-art { width: 124px; height: 124px; opacity: 0.38; }
.tile.tall { grid-column: span 4; min-height: 200px; }

.section { padding: clamp(36px, 6vh, 64px) 0; }
.section h2 {
  font: 700 clamp(1.4rem, 2.8vw, 1.85rem)/1.2 var(--disp);
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.prose p { margin-bottom: 1em; color: var(--ink-soft); max-width: 68ch; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.2em; color: var(--ink-soft); max-width: 68ch; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--ink); }
.answer-first { font-size: 1.08rem; color: var(--ink); }
.note {
  border-left: 3px solid var(--accent); padding: 12px 16px; margin: 18px 0;
  background: var(--accent2-soft); border-radius: 0 10px 10px 0;
  font-size: 0.95rem; color: var(--ink-soft); max-width: 68ch;
}
table {
  width: 100%; border-collapse: collapse; margin: 18px 0 28px;
  font-size: 0.92rem; background: var(--tile-bg); border-radius: 12px; overflow: hidden;
}
th, td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line);
}
th { font-weight: 700; background: rgba(0,0,0,0.03); }
/* Brand-style pricing board (home) */
.price-board { margin-top: 6px; }
.plan-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 18px;
}
.plan-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--tile-bg); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px 20px 18px;
  min-height: 100%;
}
.plan-card.is-feature {
  border-color: var(--accent);
  border-width: 1.5px;
}
.plan-card .plan-tag {
  font: 700 10px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent2);
}
.plan-card h3 {
  font: 700 1.25rem/1.2 var(--disp); letter-spacing: -0.02em; margin: 0;
}
.plan-card .plan-price {
  font: 800 clamp(1.6rem, 3vw, 2rem)/1 var(--disp); letter-spacing: -0.03em;
  color: var(--accent); margin: 2px 0 0;
}
.plan-card .plan-price span {
  display: block; font: 600 0.78rem/1.3 var(--sans); color: var(--ink-mute);
  letter-spacing: 0; margin-top: 6px;
}
.plan-card .plan-rules {
  list-style: none; margin: 0; padding: 0; flex: 1;
  font-size: 0.88rem; color: var(--ink-soft);
}
.plan-card .plan-rules li {
  padding: 7px 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 10px;
}
.plan-card .plan-rules li:last-child { border-bottom: none; }
.plan-card .plan-rules strong { color: var(--ink); font-weight: 700; }
.plan-sizes {
  display: grid; gap: 6px; margin-top: 4px;
  font: 600 0.82rem/1.3 var(--sans); color: var(--ink-mute);
}
.plan-sizes div {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 6px 0; border-top: 1px dashed var(--line);
}
.plan-sizes b { color: var(--ink); font-weight: 700; }
@media (max-width: 960px) {
  .plan-grid { grid-template-columns: 1fr; }
}
code, .code {
  font-family: ui-monospace, monospace; font-size: 0.92em;
  background: var(--accent2-soft); padding: 2px 7px; border-radius: 6px;
}
.promo-box {
  border: 1.5px solid var(--accent); border-radius: 16px; padding: 22px 24px;
  margin: 20px 0; background: var(--tile-bg); max-width: 68ch;
}
.promo-box .code-big {
  font: 800 1.6rem/1 var(--disp); letter-spacing: 0.04em; color: var(--accent);
  margin: 8px 0;
}
details {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px;
  margin-bottom: 10px; background: var(--tile-bg);
}
summary { font-weight: 700; cursor: pointer; }
details p { margin-top: 10px; color: var(--ink-soft); }
.related {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px; margin: 0;
}
.related a {
  display: block; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--tile-bg); color: var(--ink); font-weight: 600;
}
.related a:hover { border-color: var(--accent); color: var(--accent); }
.cta-band {
  background: var(--night); color: #e8edf5;
  border-radius: 20px; padding: 36px 28px; margin: 20px 0;
}
.cta-band h2 { color: inherit; }
.cta-band p { color: rgba(232,237,245,0.75); max-width: 48ch; margin-bottom: 16px; }

/* Step cards + theme art */
.steps-block { margin: 8px 0 28px; }
.steps-block > .kicker { margin-bottom: 8px; }
.steps-block > h2 {
  font: 700 clamp(1.35rem, 2.6vw, 1.85rem)/1.2 var(--disp);
  letter-spacing: -0.02em; margin-bottom: 18px;
}
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  list-style: none; margin: 0; padding: 0;
}
.step {
  display: flex; flex-direction: column; gap: 8px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
  border-radius: 18px; padding: 16px 16px 18px;
  min-height: 100%;
  animation: reveal-up 0.7s var(--ease) both;
}
.step-art {
  width: 100%; aspect-ratio: 16 / 11; border-radius: 14px;
  background: rgba(0,0,0,0.025);
  border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
  margin-bottom: 6px;
}
.step-art img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  padding: 6px; animation: rise 0.7s var(--ease) both;
}
.step-n {
  font: 700 11px/1 var(--sans); letter-spacing: 0.12em;
  color: var(--ink-mute); text-transform: uppercase;
}
.step h3 {
  font: 700 1.05rem/1.25 var(--disp); letter-spacing: -0.02em; color: var(--ink);
}
.step p {
  font-size: 0.9rem; color: var(--ink-mute); line-height: 1.5; margin: 0;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

.cta-dock {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px 10px 16px; background: var(--dock-bg);
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px; box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  animation: dock-in 0.55s var(--ease) 1.0s both;
}
.cta-dock-meta {
  font: 700 11px/1 var(--sans); color: rgba(232,237,245,0.55);
  letter-spacing: 0.04em; white-space: nowrap;
}
.btn-dock { padding: 12px 20px; }

.site-foot {
  border-top: 1px solid var(--line); padding: 36px 0 56px; margin-top: 24px;
  font-size: 0.88rem; color: var(--ink-mute);
}
.foot-nav {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 18px;
}
.foot-nav a { color: var(--ink-soft); font-weight: 600; font-size: 0.88rem; }
.site-foot p { max-width: 72ch; margin-bottom: 10px; }
.site-foot strong { color: var(--ink-soft); }
.foot-legal-note {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--ink-mute); max-width: 68ch; line-height: 1.5;
}

.section, .scatter, .cta-band {
  animation: reveal-up 0.7s var(--ease) both;
}

@keyframes hero-fade {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes ken {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.4%, 1%); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tile-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dock-in {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@supports (animation-timeline: view()) {
  .section, .scatter, .cta-band {
    animation: reveal-up 0.7s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
  .tile {
    animation: tile-rise 0.65s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 5% entry 40%;
  }
}

@media (max-width: 900px) {
  .tile, .tile.wide, .tile.tall { grid-column: span 6; }
  .mainnav { display: none; }
}
@media (max-width: 560px) {
  .tile, .tile.wide, .tile.tall { grid-column: span 12; }
  .cta-dock-meta { display: none; }
  .btn-dock { flex: 1; justify-content: center; }
  .cta-dock { left: 12px; right: 12px; }
  .hero { min-height: 78vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg img { transform: none; }
  .btn:hover { transform: none; }
  .tile:hover { transform: none; }
}

