/* ===================================================================
   Dulwich Plumber Reporting Tool — Sign-in page  (v6)

   Architecture (consistent across viewports):
   - FORM panel  → Dulwich BLUE gradient        — logo + sign-in
   - HERO panel  → BANANA YELLOW (workshop)     — workflow + Gas Safe

   Mobile: form on top, hero below.
   Desktop: form on right (action), hero on left (workshop story).

   Yellow hero treatments:
   - Layered warm gradient + faint notebook-lines texture
   - WHITE workflow cards with strong shadows and red/blue/mint stripes
   - GAS SAFE Triangle wrapped in NAVY credential card so it pops
   - Editorial Fraunces italic w/ red underline on emphasis word
   =================================================================== */

:root {
  /* ---------- Dulwich blue scale ---------- */
  --dp-50:  #EAF1FF;
  --dp-100: #CFDDFF;
  --dp-200: #9AB7FF;
  --dp-300: #6A92FF;
  --dp-400: #3D6EE8;
  --dp-500: #1749A7;
  --dp-600: #0F3A8E;
  --dp-700: #0A2768;
  --dp-800: #051A50;
  --dp-900: #02103A;

  --electric: #4A8DFF;

  /* ---------- Banana yellow (richer scale) ---------- */
  --banana-50:   #FFFBEB;
  --banana-100:  #FFF6CC;
  --banana-200:  #FFEC9F;
  --banana-300:  #FFDD66;
  --banana-400:  #FFC60B;     /* core banana */
  --banana-500:  #F8B500;
  --banana-600:  #E0A100;
  --banana-700:  #B98800;
  --banana-800:  #8A6500;
  --banana-deep: #B98800;     /* alias */

  /* ---------- Signal red ---------- */
  --red-pale:    #FBE5E8;
  --red:         #E63946;
  --red-warm:    #D7263D;
  --red-deep:    #B12835;

  --mint:        #4ADBC8;
  --mint-deep:   #1FB5A3;

  /* ---------- Neutrals ---------- */
  --ink-900: #0A1130;
  --ink-700: #1F2746;
  --ink-500: #4D5675;
  --ink-400: #6B7595;
  --ink-300: #98A1BC;
  --ink-200: #C5CCDD;
  --ink-100: #DEE3EE;
  --ink-50:  #EDF0F7;

  --paper:      #FFFFFF;
  --paper-soft: #FAFBFD;
  --paper-warm: #FFFBF0;
  --cream:      #FEFCF6;
  --cream-deep: #F5F1E8;

  /* ---------- Type ---------- */
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-body:    "Geist", -apple-system, BlinkMacSystemFont,
                  "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-xs: 4px; --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 22px;

  --shadow-stamp:
    0 8px 24px rgba(255, 198, 11, 0.18),
    0 24px 56px -12px rgba(0, 0, 0, 0.50),
    0 4px 10px rgba(0, 0, 0, 0.30);

  --shadow-btn:
    0 1px 0 rgba(10, 17, 48, 0.04),
    0 1px 3px rgba(10, 17, 48, 0.10),
    0 8px 22px -6px rgba(0, 0, 0, 0.30);

  --shadow-btn-hover:
    0 1px 0 rgba(10, 17, 48, 0.04),
    0 8px 18px -2px rgba(255, 198, 11, 0.30),
    0 16px 36px -8px rgba(0, 0, 0, 0.45);

  /* Strong shadow for white workflow cards on yellow */
  --shadow-card-yellow:
    0 1px 0 rgba(185, 136, 0, 0.10),
    0 4px 14px -2px rgba(185, 136, 0, 0.25),
    0 16px 32px -10px rgba(10, 17, 48, 0.12);

  /* Navy credential card shadow */
  --shadow-credential:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 2px 6px rgba(2, 16, 58, 0.30),
    0 14px 32px -8px rgba(2, 16, 58, 0.45);

  --transition: 220ms cubic-bezier(.2,.6,.2,1);
}

/* ===================================================================
   RESET
   =================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-700);
  background: var(--banana-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt", "ss01";
  min-height: 100svh;
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--banana-400); outline-offset: 2px; border-radius: 2px; }

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: 0.01em;
}

/* word-level highlights (in form description) */
.hi-banana {
  color: var(--banana-400);
  font-weight: 600;
  text-shadow: 0 0 18px rgba(255, 198, 11, 0.28);
}
.hi-red {
  color: #FF8590;
  font-weight: 600;
}
.hi-light {
  color: var(--paper);
  font-weight: 700;
  background: linear-gradient(180deg, transparent 60%, rgba(255, 198, 11, 0.30) 60%);
  padding: 0 3px;
  margin: 0 -3px;
  border-radius: 3px;
}

/* ===================================================================
   APP LAYOUT
   =================================================================== */
.app {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  min-height: 100dvh;
}

.form { order: 1; }
.hero { order: 2; }


/* ===================================================================
   FORM PANEL  —  BLUE, dramatic, big logo + product name + sign-in
   =================================================================== */
.form {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background: linear-gradient(135deg,
    var(--dp-900) 0%,
    var(--dp-700) 35%,
    var(--dp-500) 70%,
    var(--dp-600) 100%);
  display: flex;
  flex-direction: column;
  padding:
    max(28px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    36px
    max(24px, env(safe-area-inset-left));
}

.form__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.form__mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite;
}

.form__mesh--1 {
  top:-10%; left:-12%; width:70%; height:70%;
  background: radial-gradient(circle, var(--electric) 0%, transparent 60%);
}
.form__mesh--2 {
  top:30%; right:-10%; width:55%; height:55%;
  background: radial-gradient(circle, var(--dp-300) 0%, transparent 60%);
  animation-delay: -7s;
}
.form__mesh--3 {
  bottom:-15%; left:25%; width:60%; height:60%;
  background: radial-gradient(circle, var(--dp-400) 0%, transparent 60%);
  animation-delay: -14s;
}

@keyframes drift {
  0%,100% { transform: translate(0, 0) scale(1); }
  33%     { transform: translate(20px, -20px) scale(1.05); }
  66%     { transform: translate(-15px, 15px) scale(0.97); }
}

.form__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image:
    radial-gradient(ellipse at 50% 30%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image:
    radial-gradient(ellipse at 50% 30%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0) 100%);
}

/* ---------- BIG BRAND BLOCK ---------- */
.form__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 4px 26px;
  margin-bottom: 4px;
}

.form__brand-stamp {
  position: relative;
  padding: 12px;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow-stamp);
  margin-bottom: 22px;
}

.form__brand-img {
  width: 144px;
  height: 144px;
  border-radius: 12px;
  display: block;
}

.form__brand-tenant {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.form__brand-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--banana-400);
  box-shadow: 0 0 0 3px rgba(255, 198, 11, 0.20);
  flex-shrink: 0;
}

.form__brand-product {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 12vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}

.form__brand-product em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(120deg,
    var(--banana-100) 0%,
    var(--banana-400) 50%,
    var(--banana-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(255, 198, 11, 0.35);
  position: relative;
}

.form__brand-product em::after {
  content: "";
  position: absolute;
  left: 4%; right: 0;
  bottom: 4px;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%, var(--banana-400) 30%, var(--banana-400) 70%, transparent 100%);
  border-radius: 2px;
  opacity: 0.7;
}

.form__brand-desc {
  margin: 0 auto 14px;
  max-width: 32ch;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: pretty;
}

.form__brand-aud {
  margin: 0;
  max-width: 38ch;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
}

/* ---------- FORM INNER (eyebrow → button → trust) ---------- */
.form__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  margin: 8px auto 0;
  position: relative;
}

.form__inner::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 0 auto 22px;
  background: linear-gradient(90deg,
    var(--banana-400) 0%, var(--banana-400) 33%,
    var(--red)        33%, var(--red)        66%,
    var(--paper)      66%, var(--paper)      100%);
  border-radius: 2px;
  opacity: 0.85;
}

.form__top { text-align: center; margin-bottom: 18px; }

.form__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--banana-400);
}

.form__eyebrow-mark {
  color: rgba(255, 255, 255, 0.40);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1;
}

/* ---------- FLASHES ---------- */
.flashes { margin-bottom: 14px; }

.flash {
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--r-md);
  margin-bottom: 8px;
  text-align: center;
  border: 1px solid transparent;
}

.flash--error,
.flash--danger {
  background: rgba(230, 57, 70, 0.18);
  color: #FFD8DD;
  border-color: rgba(230, 57, 70, 0.40);
}

.flash--info,
.flash--message {
  background: rgba(255, 255, 255, 0.10);
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.20);
}

/* ---------- GOOGLE BUTTON ---------- */
.gbtn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 0 22px;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 12px;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.gbtn::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg,
    var(--banana-400) 0%, var(--banana-400) 33%,
    var(--red)        33%, var(--red)        66%,
    var(--dp-500)     66%, var(--dp-500)     100%);
}

@media (hover: hover) and (pointer: fine) {
  .gbtn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-hover);
    background: #FDFEFF;
  }
  .gbtn:hover .gbtn__chev {
    transform: translateX(4px);
    color: var(--dp-500);
  }
}

.gbtn:active {
  transform: scale(0.985);
  background: var(--paper-soft);
}

.gbtn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(255, 198, 11, 0.40),
    var(--shadow-btn-hover);
}

.gbtn__icon { display: inline-flex; width: 20px; height: 20px; flex-shrink: 0; }
.gbtn__icon svg { width: 100%; height: 100%; }
.gbtn__label { white-space: nowrap; }

.gbtn__chev {
  display: inline-flex;
  width: 14px; height: 14px;
  margin-left: 2px;
  color: var(--ink-300);
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
}

/* ---------- TRUST LINE ---------- */
.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.005em;
  text-align: center;
}

.trust__icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--mint); }
.trust__sep  { color: rgba(255, 255, 255, 0.25); }


/* ===================================================================
   HERO PANEL  —  BANANA YELLOW WORKSHOP
   =================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink-900);
  background:
    /* warm radial halo bottom-right */
    radial-gradient(ellipse at 95% 95%, rgba(247, 148, 29, 0.30) 0%, transparent 50%),
    /* soft red wash bottom-left */
    radial-gradient(ellipse at 5% 90%, rgba(230, 57, 70, 0.10) 0%, transparent 45%),
    /* main banana gradient */
    linear-gradient(180deg,
      var(--banana-100) 0%,
      var(--banana-200) 55%,
      var(--banana-300) 100%);
  padding:
    36px
    max(24px, env(safe-area-inset-right))
    max(36px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
}

/* tri-color seam at very top — colours rebalanced for blue→yellow transition */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--dp-700)     0%, var(--dp-700)     25%,
    var(--banana-400) 25%, var(--banana-400) 50%,
    var(--red)        50%, var(--red)        75%,
    var(--mint-deep)  75%, var(--mint-deep)  100%);
  z-index: 1;
}

/* ---------- workshop atmospherics ---------- */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* notebook horizontal lines — workshop notebook feel */
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 27px,
    rgba(185, 136, 0, 0.08) 27px,
    rgba(185, 136, 0, 0.08) 28px
  );
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,1) 18%, rgba(0,0,0,1) 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,1) 18%, rgba(0,0,0,1) 82%, transparent 100%);
}

.hero__mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.hero__mesh--1 {
  top: -8%; right: -10%;
  width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(247, 148, 29, 0.45) 0%, transparent 65%);
}

.hero__mesh--2 {
  bottom: -6%; left: -8%;
  width: 45%; height: 45%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, transparent 65%);
}

/* faint blue dot grid for technical/blueprint feel */
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(23, 73, 167, 0.08) 1px, transparent 0);
  background-size: 24px 24px;
  background-position: -1px -1px;
  mask-image:
    radial-gradient(ellipse at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image:
    radial-gradient(ellipse at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
}

/* ruler tick marks at left edge — craft/measurement detail */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 8px;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0, transparent 7px,
    rgba(10, 39, 104, 0.40) 7px, rgba(10, 39, 104, 0.40) 8px,
    transparent 8px, transparent 15px,
    rgba(10, 39, 104, 0.20) 15px, rgba(10, 39, 104, 0.20) 16px
  );
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, transparent 100%);
  pointer-events: none;
}

/* ---------- HERO HEADER ---------- */
.hero__top { margin: 0 0 28px; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dp-700);
}

.hero__eyebrow-bar {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--banana-700) 100%);
}

.hero__head {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 7.5vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}

.hero__head-em {
  position: relative;
  display: inline-block;
  font-style: italic;
  font-weight: 600;
  color: var(--red);
}

.hero__head-em::after {
  content: "";
  position: absolute;
  left: 0; right: 4px;
  bottom: -2px;
  height: 5px;
  background: linear-gradient(120deg,
    var(--dp-500) 0%, var(--dp-700) 60%, transparent 100%);
  border-radius: 4px;
  opacity: 0.85;
  transform-origin: left center;
  animation: underline-draw 800ms 1000ms cubic-bezier(.2,.6,.2,1) backwards;
}

@keyframes underline-draw {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 0.85; }
}

.hero__lede {
  margin: 0;
  max-width: 50ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-700);
  text-wrap: pretty;
}

/* ---------- WORKFLOW (white cards on yellow, strong shadow) ---------- */
.workflow {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.workflow__step {
  position: relative;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid rgba(185, 136, 0, 0.20);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card-yellow);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

/* corner taped-on tab effect — small triangle peeking from top */
.workflow__step::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 18px;
  width: 24px;
  height: 6px;
  background: linear-gradient(180deg, rgba(185, 136, 0, 0.30), rgba(185, 136, 0, 0.10));
  border-radius: 0 0 4px 4px;
}

.workflow__step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 4px;
  border-radius: 0 0 4px 0;
}

/* Updated accent colors: --banana modifier kept but uses BLUE on yellow bg */
.workflow__step--banana::before { background: var(--dp-500); }
.workflow__step--red::before    { background: var(--red); }
.workflow__step--mint::before   { background: var(--mint-deep); }

.workflow__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }

.workflow__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  font-variant-numeric: lining-nums tabular-nums;
}

.workflow__step--banana .workflow__num { color: var(--dp-500); }
.workflow__step--red    .workflow__num { color: var(--red); }
.workflow__step--mint   .workflow__num { color: var(--mint-deep); }

.workflow__icon {
  width: 28px; height: 28px;
  margin-left: auto;
  color: var(--ink-300);
  flex-shrink: 0;
}

.workflow__icon svg { width: 100%; height: 100%; }

.workflow__title {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  color: var(--ink-900);
}

.workflow__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-500);
}


/* ---------- HERO FOOTER  (Gas Safe NAVY card + Siterep credit) ---------- */
.hero__foot {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px dashed rgba(185, 136, 0, 0.40);
  position: relative;
}

/* Gas Safe credential card — navy, looks like an embossed plate */
.gs-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  background: linear-gradient(135deg, var(--dp-800) 0%, var(--dp-600) 100%);
  border-radius: 14px;
  box-shadow: var(--shadow-credential);
  position: relative;
  overflow: hidden;
}

/* subtle highlight stripe inside the navy card (gives plate-like depth) */
.gs-mark::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, rgba(255, 255, 255, 0.18) 50%, transparent);
}

/* small banana corner mark on the credential card */
.gs-mark::after {
  content: "";
  position: absolute;
  top: -8px; right: 16px;
  width: 24px; height: 8px;
  background: var(--banana-400);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.20);
}

.gs-mark__img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.40));
}

.gs-mark__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.gs-mark__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.gs-mark__num {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.hero__credit {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-700);
  letter-spacing: 0.01em;
  font-style: italic;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
}

.hero__credit strong {
  font-style: normal;
  font-weight: 700;
  color: var(--dp-700);
  letter-spacing: 0.01em;
  font-variant: small-caps;
  font-feature-settings: "smcp" 1;
}

.hero__credit .dot { color: rgba(10, 17, 48, 0.20); margin: 0 6px; }


/* ===================================================================
   ANIMATIONS — staggered entry
   =================================================================== */
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form__brand,
.form__top,
.gbtn,
.trust,
.hero__top,
.workflow__step,
.hero__foot {
  opacity: 0;
  animation: rise 600ms cubic-bezier(.2,.6,.2,1) forwards;
}

.form__brand               { animation-delay: 80ms;  }
.form__top                 { animation-delay: 320ms; }
.gbtn                      { animation-delay: 420ms; }
.trust                     { animation-delay: 540ms; }

.hero__top                 { animation-delay: 700ms; }
.workflow__step:nth-child(1){ animation-delay: 820ms; }
.workflow__step:nth-child(2){ animation-delay: 900ms; }
.workflow__step:nth-child(3){ animation-delay: 980ms; }
.hero__foot                { animation-delay: 1120ms; }


/* ===================================================================
   BREAKPOINT — PHABLET / LANDSCAPE PHONE  (480px+)
   =================================================================== */
@media (min-width: 480px) {
  .form { padding: 40px 36px 44px; }

  .form__brand-img { width: 156px; height: 156px; }
  .form__brand-tenant { font-size: 13.5px; }
  .form__brand-product { font-size: clamp(54px, 11vw, 64px); }
  .form__brand-desc { font-size: 18.5px; max-width: 36ch; }
  .form__brand-aud { font-size: 14px; }

  .workflow {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .workflow__step { padding: 16px 16px 18px; }
  .workflow__num  { font-size: 26px; }
  .workflow__icon { width: 24px; height: 24px; }
  .workflow__title { font-size: 14px; }
  .workflow__desc { font-size: 12.5px; }

  .hero { padding: 40px 36px; }
  .hero__head { font-size: clamp(32px, 6.5vw, 42px); }

  .gs-mark__img { width: 64px; height: 64px; }
  .gs-mark__num { font-size: 17px; }
}


/* ===================================================================
   BREAKPOINT — TABLET / SMALL DESKTOP  (760px+)
   Two-column split.  Form right, hero left.
   =================================================================== */
@media (min-width: 760px) {
  .app {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "hero form";
  }

  .hero { order: initial; grid-area: hero; }
  .form { order: initial; grid-area: form; }

  .form {
    padding: 56px 48px;
    justify-content: center;
    min-height: 100svh;
    min-height: 100dvh;
  }

  .form__brand { padding-bottom: 36px; }
  .form__brand-img { width: 132px; height: 132px; }
  .form__brand-product { font-size: clamp(48px, 5.5vw, 64px); }
  .form__brand-desc { font-size: 17px; max-width: 38ch; }

  .form__inner { margin-top: 0; }

  .hero {
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero::before { display: none; }
  .hero::after  { left: 0; }

  .hero__top { margin-bottom: 32px; }
  .hero__head { font-size: clamp(34px, 4vw, 44px); }
}


/* ===================================================================
   BREAKPOINT — DESKTOP  (1100px+)
   =================================================================== */
@media (min-width: 1100px) {
  .app { grid-template-columns: 1fr 580px; }

  .form { padding: 72px 64px; }
  .form__brand { padding-bottom: 44px; }
  .form__brand-img { width: 140px; height: 140px; }
  .form__brand-tenant { font-size: 14px; letter-spacing: 0.24em; }
  .form__brand-product { font-size: clamp(60px, 5vw, 76px); }
  .form__brand-desc { font-size: 18px; max-width: 40ch; }
  .form__brand-aud { font-size: 14.5px; }
  .form__inner { max-width: 460px; }

  .gbtn { min-height: 64px; font-size: 17px; }

  .hero { padding: 72px 64px 56px; }
  .hero__top { margin-bottom: 44px; }

  .hero__head {
    font-size: clamp(40px, 4.2vw, 56px);
    margin-bottom: 18px;
  }

  .hero__lede { font-size: 16px; max-width: 52ch; }

  .workflow { gap: 16px; margin-bottom: 40px; }
  .workflow__step { padding: 22px 22px 24px; }
  .workflow__num  { font-size: 34px; }
  .workflow__icon { width: 28px; height: 28px; }
  .workflow__title { font-size: 16px; }
  .workflow__desc { font-size: 13.5px; }
  .workflow__step::before { width: 48px; height: 4px; }

  .workflow__step:hover {
    transform: translateY(-3px);
    box-shadow:
      0 1px 0 rgba(185, 136, 0, 0.10),
      0 12px 28px -6px rgba(185, 136, 0, 0.32),
      0 24px 40px -12px rgba(10, 17, 48, 0.18);
  }

  .gs-mark { padding: 16px 22px 16px 16px; gap: 16px; }
  .gs-mark__img { width: 72px; height: 72px; }
  .gs-mark__num { font-size: 18px; }
  .gs-mark__label { font-size: 11px; }

  .hero__credit { font-size: 13px; }
}


/* ===================================================================
   BREAKPOINT — WIDE DESKTOP  (1440px+)
   =================================================================== */
@media (min-width: 1440px) {
  .app { grid-template-columns: 1fr 640px; }

  .form { padding: 96px 88px; }
  .form__brand-img { width: 156px; height: 156px; }
  .form__brand-product { font-size: clamp(72px, 5vw, 88px); }
  .form__brand-desc { font-size: 19px; }
  .form__inner { max-width: 480px; }

  .gbtn { min-height: 68px; font-size: 17px; }

  .hero { padding: 96px 96px 72px; }
  .hero__head { font-size: clamp(48px, 4vw, 64px); }
  .hero__lede { font-size: 17px; max-width: 56ch; }

  .workflow { gap: 18px; }
  .workflow__step { padding: 26px 26px 28px; }
  .workflow__num  { font-size: 38px; }

  .gs-mark { padding: 18px 24px 18px 18px; }
  .gs-mark__img { width: 80px; height: 80px; }
  .gs-mark__num { font-size: 20px; }
}


/* ===================================================================
   ULTRA-WIDE  (1800px+)
   =================================================================== */
@media (min-width: 1800px) {
  .app { grid-template-columns: 1fr 720px; }
  .form { padding: 120px 120px; }
  .hero { padding: 120px 120px 96px; }
}


/* ===================================================================
   VERY SMALL PHONES  (<360px)
   =================================================================== */
@media (max-width: 359px) {
  .form { padding: 18px 16px 28px; }

  .form__brand-img { width: 116px; height: 116px; }
  .form__brand-stamp { padding: 8px; margin-bottom: 16px; border-radius: 14px; }
  .form__brand-tenant { font-size: 11px; gap: 8px; letter-spacing: 0.18em; }
  .form__brand-product { font-size: 38px; margin-bottom: 16px; }
  .form__brand-desc { font-size: 15px; max-width: 28ch; }
  .form__brand-aud { font-size: 12px; }

  .gbtn { font-size: 15px; padding: 0 14px; gap: 10px; }
  .gbtn__chev { display: none; }

  .hero { padding: 28px 16px 32px; }
  .hero__head { font-size: 28px; }
  .hero__lede { font-size: 14px; }

  .workflow__num  { font-size: 24px; }
  .workflow__title { font-size: 14px; }
  .workflow__desc { font-size: 12.5px; }

  .gs-mark { padding: 12px 14px 12px 12px; gap: 12px; }
  .gs-mark__img { width: 50px; height: 50px; }
  .gs-mark__num { font-size: 14.5px; }
}


/* ===================================================================
   ACCESSIBILITY
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .form__mesh { animation: none !important; }
  .form__brand, .form__top, .gbtn, .trust,
  .hero__top, .workflow__step, .hero__foot {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .form { background: Canvas; color: CanvasText; }
  .hero { background: Canvas; color: CanvasText; }
  .form__bg, .hero__bg { display: none; }
  .gbtn { border: 1px solid CanvasText; }
}


/* ===================================================================
   PRINT
   =================================================================== */
@media print {
  .form__bg, .hero__bg, .hero::after, .hero::before { display: none; }
  .app { display: block; }
  .form { background: var(--paper); color: var(--ink-900); padding: 20px; }
  .hero { background: var(--paper); color: var(--ink-900); padding: 20px; }
  .form__brand-product { color: var(--ink-900); }
  .form__brand-product em { color: var(--banana-700); -webkit-text-fill-color: var(--banana-700); }
  .form__brand-desc, .form__brand-aud, .form__brand-tenant { color: var(--ink-700); }
  .gs-mark { background: var(--paper); color: var(--ink-900); border: 1px solid var(--ink-300); }
  .gs-mark__label, .gs-mark__num { color: var(--ink-900); }
}
