* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Landing page — editorial ocean direction */
.landing {
  --ink: #071d2b;
  --ocean: #063b57;
  --blue: #087cb0;
  --cyan: #65e4e4;
  --serif: Georgia, "Times New Roman", serif;
  --paper: #fffdf7;
  --foam: #f3efe2;
  --coral: #ff6b57;
  margin: 0;
  background:
    radial-gradient(1200px 640px at 90% -14%, rgba(101, 228, 228, 0.24) 0%, transparent 56%),
    radial-gradient(900px 580px at -10% 4%, rgba(255, 107, 87, 0.14) 0%, transparent 52%),
    radial-gradient(1000px 700px at 50% 120%, rgba(6, 59, 87, 0.08) 0%, transparent 58%),
    var(--foam);
  color: var(--ink);
  overflow-x: hidden;
}
.landing::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  z-index: 30;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.landing a { color: inherit; }
.landing-nav {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 88px;
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(6, 59, 87, .18);
}
.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.045em;
}
.landing-brand img { width: 40px; height: 40px; object-fit: contain; }
.landing-nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 650;
}
.nav-link, .nav-login { text-decoration: none; }
.nav-link { color: rgba(7, 29, 43, .62) !important; }
.nav-link:hover, .nav-login:hover { color: var(--blue) !important; }
.nav-signup {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 12px 14px 12px 18px;
  background: var(--ink);
  color: var(--paper) !important;
  text-decoration: none;
  border-radius: 3px;
  transition: transform .2s ease, background .2s ease;
}
.nav-signup:hover { transform: translate(-2px, -2px); background: var(--blue); }

.landing main { overflow: hidden; }
.landing-hero {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 650px;
  padding: 70px 30px 86px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(46px, 8vw, 110px);
  align-items: center;
  position: relative;
}
.landing-hero::after {
  content: "SOCIAL / SHARK";
  position: absolute;
  right: -42px;
  top: 49%;
  transform: rotate(90deg);
  font-size: 10px;
  letter-spacing: .28em;
  font-weight: 800;
  color: rgba(7, 29, 43, .38);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 30px;
  height: 7px;
  background: var(--coral);
  transform: skewX(-25deg);
}
.landing-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7.2vw, 106px);
  font-weight: 400;
  line-height: .83;
  letter-spacing: -.075em;
}
.landing-hero h1 em {
  color: var(--blue);
  font-weight: 400;
  white-space: nowrap;
}
.hero-copy > p {
  max-width: 510px;
  margin: 32px 0 26px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: rgba(7, 29, 43, .72);
}
.hero-ctas { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cta-coral {
  display: inline-flex;
  gap: 42px;
  align-items: center;
  padding: 15px 17px 15px 20px;
  background: var(--coral);
  color: var(--ink) !important;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease;
}
.cta-coral:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.cta-text {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.cta-text span { color: var(--blue); margin-left: 5px; }

.shark-studio {
  background: var(--ink);
  color: var(--paper);
  min-height: 455px;
  padding: 24px;
  border-radius: 3px;
  position: relative;
  transform: rotate(2.2deg);
  box-shadow: 18px 18px 0 var(--cyan);
}
.shark-studio::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.13);
  pointer-events: none;
}
.studio-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 9px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
}
.studio-status i {
  width: 6px; height: 6px; border-radius: 50%;
  display: inline-block; background: var(--cyan); margin-right: 6px;
  box-shadow: 0 0 0 3px rgba(101,228,228,.13);
}
.studio-prompt {
  margin: 38px 10px 30px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.studio-output {
  background: var(--paper);
  color: var(--ink);
  padding: 18px;
  position: relative;
  transform: rotate(-1.5deg);
}
.output-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 7px;
  background: var(--cyan);
  font-size: 8px;
  letter-spacing: .14em;
  font-weight: 900;
}
.studio-output p {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.3;
}
.studio-output mark { background: none; color: var(--blue); font-style: italic; }
.output-meta {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(7,29,43,.15);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: rgba(7,29,43,.56);
}
.studio-tools {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 26px;
  padding: 0 9px;
  color: rgba(255,255,255,.56);
  font-size: 9px;
  letter-spacing: .04em;
}
.studio-tools b { margin-left: auto; color: var(--cyan); }
.fin {
  position: absolute;
  width: 36px;
  height: 56px;
  background: var(--coral);
  clip-path: polygon(0 100%, 100% 100%, 58% 0);
  z-index: -1;
}
.fin-one { top: -41px; right: 58px; transform: rotate(9deg); }
.fin-two { bottom: -47px; left: 44px; transform: rotate(180deg); background: var(--blue); }

.current-strip {
  overflow: hidden;
  background: var(--coral);
  border-block: 1px solid var(--ink);
  transform: rotate(-1.2deg);
  margin-inline: -2%;
}
.current-track {
  display: flex;
  width: max-content;
  animation: current 28s linear infinite;
  will-change: transform;
}
.current-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 1.4rem;
  padding: 12px 1.4rem;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  white-space: nowrap;
}
.current-group span { display: inline-block; }
.current-strip b {
  color: var(--paper);
  font-weight: 900;
  font-size: 8px;
}
@keyframes current {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.how-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 30px 115px;
}
.section-intro {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  margin-bottom: 58px;
}
.section-number {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}
.section-kicker { margin: 0 0 10px; font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.section-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 82px);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 400;
}
.steps {
  display: grid;
  grid-template-columns: 1fr 1.06fr .94fr;
  border: 1px solid var(--ink);
}
.step {
  min-height: 340px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--ink);
}
.step:last-child { border-right: 0; }
.step > span { font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.step h3 {
  margin: 52px 0 12px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.04em;
}
.step p { max-width: 280px; font-size: 14px; color: rgba(7,29,43,.67); }
.step-shape { background: var(--cyan); }
.step-send { background: var(--ink); color: var(--paper); }
.step-send p { color: rgba(255,255,255,.64); }
.scribble {
  position: absolute;
  bottom: 34px;
  right: -15px;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  transform: rotate(-7deg);
  color: var(--blue);
}
.angle-stack { position: absolute; right: 32px; bottom: 30px; width: 120px; height: 75px; }
.angle-stack i {
  position: absolute;
  inset: 0;
  background: var(--paper);
  border: 1px solid var(--ink);
}
.angle-stack i:nth-child(1) { transform: rotate(-8deg); }
.angle-stack i:nth-child(2) { transform: rotate(5deg); }
.angle-stack i:nth-child(3) { transform: rotate(-1deg); background: var(--coral); }
.send-arrow {
  position: absolute;
  right: 24px;
  bottom: 8px;
  font-family: var(--serif);
  font-size: 100px;
  line-height: 1;
  color: var(--coral);
}

.manifesto {
  background: var(--blue);
  color: var(--paper);
  text-align: center;
  padding: 110px max(24px, calc((100vw - 900px) / 2));
  position: relative;
}
.manifesto-mark {
  position: absolute;
  top: 42px;
  left: 10%;
  font-family: var(--serif);
  font-size: 100px;
  color: var(--cyan);
  opacity: .8;
}
.manifesto p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 65px);
  line-height: 1.03;
  letter-spacing: -.045em;
  color: var(--paper);
}
.manifesto p em { color: var(--cyan); }
.manifesto > span {
  display: block;
  margin-top: 32px;
  font-size: 9px;
  letter-spacing: .22em;
  font-weight: 900;
}

.final-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 44px;
}
.final-cta img { width: 96px; height: 96px; object-fit: contain; }
.final-cta > div > span { font-size: 9px; letter-spacing: .2em; font-weight: 900; color: var(--blue); }
.final-cta h2 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 70px);
  line-height: .9;
  letter-spacing: -.055em;
  font-weight: 400;
}
.final-cta > a {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: var(--coral);
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease;
}
.final-cta > a span { font-size: 23px; }
.final-cta > a:hover { transform: rotate(6deg) scale(1.04); }

.landing-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 30px 36px;
  border-top: 1px solid rgba(6,59,87,.18);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  font-size: 11px;
}
.landing-footer > span { color: rgba(7,29,43,.5); text-transform: uppercase; letter-spacing: .15em; }
.landing-footer nav { display: flex; justify-content: flex-end; gap: 16px; }
.landing-footer nav a { color: rgba(7,29,43,.65); text-decoration: none; }
.landing-footer .landing-brand { font-size: 16px; }
.landing-footer .landing-brand img { width: 32px; height: 32px; }

@media (max-width: 900px) {
  .landing-hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { max-width: 700px; }
  .shark-studio { max-width: 600px; margin: 20px auto 0; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--ink); }
  .step:last-child { border-bottom: 0; }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta > a { grid-column: 2; width: 130px; height: 130px; }
  .landing-footer { grid-template-columns: 1fr auto; }
  .landing-footer > span { display: none; }
}
@media (max-width: 620px) {
  .landing-nav { min-height: 74px; padding: 14px 18px; }
  .landing-nav .nav-link, .landing-nav .nav-login { display: none; }
  .landing-brand { font-size: 17px; }
  .landing-brand img { width: 34px; height: 34px; }
  .nav-signup { gap: 10px; padding: 10px 12px; }
  .landing-hero { padding: 52px 20px 80px; }
  .landing-hero h1 { font-size: clamp(50px, 15vw, 76px); }
  .landing-hero h1 em { white-space: normal; }
  .landing-hero::after { display: none; }
  .shark-studio { padding: 18px; min-height: 425px; box-shadow: 10px 10px 0 var(--cyan); }
  .studio-prompt { margin-inline: 2px; }
  .studio-tools { gap: 10px; padding: 0; }
  .studio-tools span:nth-child(3) { display: none; }
  .how-section { padding: 90px 20px; }
  .section-intro { grid-template-columns: 1fr; gap: 20px; }
  .step { min-height: 300px; }
  .manifesto { padding: 90px 24px; }
  .manifesto-mark { left: 3%; top: 32px; }
  .final-cta { padding: 80px 20px; grid-template-columns: 1fr; gap: 24px; }
  .final-cta img { width: 72px; height: 72px; }
  .final-cta > a { grid-column: 1; width: 125px; height: 125px; }
  .landing-footer { grid-template-columns: 1fr; padding: 25px 20px; }
  .landing-footer nav { justify-content: flex-start; flex-wrap: wrap; }
}
/* Landing — auth pages (login / signup) */
.auth-shell {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 56vh;
  padding: 90px 30px 130px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 42px 38px;
  box-shadow: 14px 14px 0 var(--cyan);
}
.auth-kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  color: var(--blue);
}
.auth-card h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 52px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.05em;
}
.auth-card > p {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(7, 29, 43, .72);
}
.auth-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.auth-actions .cta-coral { justify-content: center; gap: 14px; width: 100%; }
.auth-actions .cta-text { border-bottom: none; color: rgba(7, 29, 43, .65); }
.auth-actions .cta-text:hover { color: var(--blue); }

/* Landing — legal pages (terms / privacy / data deletion) */
.legal-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 30px 120px;
}
.legal-head {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 44px;
}
.legal-head .section-number { color: var(--coral); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.legal-head h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.055em;
}
.legal-lede { margin: 0; max-width: 58ch; font-size: 16px; line-height: 1.6; color: rgba(7, 29, 43, .72); }
.legal-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 40px clamp(22px, 4vw, 48px);
}
.legal-card h2 {
  margin: 34px 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.02em;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.65; color: rgba(7, 29, 43, .78); }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card a { color: var(--blue); }
.legal-card code {
  background: rgba(6, 59, 87, .08);
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 13px;
}
.legal-foot {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(7, 29, 43, .55);
}
.legal-foot a { color: rgba(7, 29, 43, .7); text-decoration: none; }
.legal-foot a:hover { color: var(--blue); }

@media (max-width: 620px) {
  .auth-shell { padding: 60px 20px 90px; }
  .auth-card { padding: 30px 24px; box-shadow: 8px 8px 0 var(--cyan); }
  .legal-shell { padding: 56px 20px 90px; }
  .legal-head { grid-template-columns: 1fr; gap: 10px; }
  .legal-card { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .current-track { animation: none; }
  .landing * { scroll-behavior: auto !important; transition: none !important; }
}
