/*
  ShobuOps — production stylesheet
  ---------------------------------
  This file replaces the Tailwind browser CDN (cdn.tailwindcss.com) used during
  drafting. cdn.tailwindcss.com compiles utility CSS in the browser at runtime —
  it is explicitly a development tool and is not intended for production use.

  This stylesheet is a hand-authored, purpose-built set of utility classes that
  covers exactly the class names used in index.html, privacy.html, and terms.html.
  It reproduces the same visual result as the previous Tailwind CDN configuration
  (colors, type scale, spacing) without shipping a runtime compiler or unused
  framework code.

  IMPORTANT — if you add new Tailwind utility classes to the HTML later, they will
  NOT work automatically, because this file is not a compiler. To regenerate a
  full Tailwind build instead of maintaining this file by hand, see the build
  instructions left in the project notes / final report.
*/

/* -------------------------------------------------------------- */
/* 1. Reset & base                                                  */
/* -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: #0B1220;
  color: #ECEFF3;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
svg { display: block; }
img { max-width: 100%; display: block; }
::selection { background: #3DDC97; color: #0B1220; }

/* -------------------------------------------------------------- */
/* 2. Design tokens                                                 */
/* -------------------------------------------------------------- */
:root {
  --ink: #0B1220;
  --panel: #121B2E;
  --panel2: #17223A;
  --line: #243352;
  --ivory: #ECEFF3;
  --dim: #93A0B8;
  --signal: #3DDC97;
  --signaldim: #2A9D74;
  --amber: #E8A33D;
}

/* -------------------------------------------------------------- */
/* 3. Decorative / animated components                              */
/* -------------------------------------------------------------- */
.grain { position: relative; }
.grain::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(236,239,243,0.035) 1px, transparent 0);
  background-size: 22px 22px;
}
.log-line { opacity: 0; transform: translateY(4px); animation: logIn .5s ease forwards; }
@keyframes logIn { to { opacity: 1; transform: translateY(0); } }

details.group[open] .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform .2s ease; }

#mobile-menu { transition: max-height .25s ease, opacity .2s ease; }
@media (min-width: 768px) { #sticky-cta { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .log-line { animation: none; opacity: 1; transform: none; }
  .faq-icon, #mobile-menu, * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

/* -------------------------------------------------------------- */
/* 4. Accessibility — focus states                                  */
/* -------------------------------------------------------------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 2px solid #3DDC97; outline-offset: 2px;
}
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(61,220,151,.55); }
.focus\:ring-signal:focus { box-shadow: 0 0 0 2px rgba(61,220,151,.55); }
.focus\:border-signal:focus { border-color: #3DDC97; }

/* -------------------------------------------------------------- */
/* 5. Layout                                                        */
/* -------------------------------------------------------------- */
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.overflow-hidden { overflow: hidden; }
.max-h-0 { max-height: 0; }
.opacity-0 { opacity: 0; }

.top-0 { top: 0; }
.top-1 { top: .25rem; }
.top-1\/2 { top: 50%; }
.-top-3 { top: -.75rem; }
.left-0 { left: 0; }
.left-4 { left: 1rem; }
.left-7 { left: 1.75rem; }
.-left-\[5px\] { left: -5px; }
.right-0 { right: 0; }
.right-3\.5 { right: .875rem; }
.bottom-0 { bottom: 0; }
.-translate-y-1\/2 { transform: translateY(-50%); }

.z-10 { z-index: 10; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }

.mx-auto { margin-left: auto; margin-right: auto; }
.ml-2 { margin-left: .5rem; }
.-mr-2 { margin-right: -.5rem; }

.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-7xl { max-width: 80rem; }

.w-full { width: 100%; }
.w-1\.5 { width: .375rem; }
.w-2\.5 { width: .625rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.h-1\.5 { height: .375rem; }
.h-2\.5 { height: .625rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-16 { height: 4rem; }
.min-h-\[44px\] { min-height: 44px; }
.min-w-\[44px\] { min-width: 44px; }
.min-h-\[48px\] { min-height: 48px; }
.min-h-\[52px\] { min-height: 52px; }

/* Flexbox */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }

/* Grid */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Gap */
.gap-1 { gap: .25rem; }
.gap-1\.5 { gap: .375rem; }
.gap-2 { gap: .5rem; }
.gap-2\.5 { gap: .625rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-px { gap: 1px; }
.gap-x-4 { column-gap: 1rem; }
.gap-y-5 { row-gap: 1.25rem; }

/* Space between (vertical stacks) */
.space-y-2\.5 > * + * { margin-top: .625rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Divide */
.divide-y > * + * { border-top-width: 1px; }
.divide-line > * + * { border-top-color: var(--line); }

/* -------------------------------------------------------------- */
/* 6. Spacing — margin / padding                                    */
/* -------------------------------------------------------------- */
.mt-1 { margin-top: .25rem; }
.mt-1\.5 { margin-top: .375rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.pt-9 { padding-top: 2.25rem; }
.pt-14 { padding-top: 3.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-9 { padding-bottom: 2.25rem; }
.pb-16 { padding-bottom: 4rem; }
.pl-8 { padding-left: 2rem; }
.pl-\[4\.6rem\] { padding-left: 4.6rem; }
.pr-4 { padding-right: 1rem; }
.pr-10 { padding-right: 2.5rem; }
.p-2 { padding: .5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-2\.5 { padding-left: .625rem; padding-right: .625rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-3\.5 { padding-top: .875rem; padding-bottom: .875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

/* -------------------------------------------------------------- */
/* 7. Typography                                                    */
/* -------------------------------------------------------------- */
.font-display { font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif; }
.font-body { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; }
.font-mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
.font-medium { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }

.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-\[11px\] { font-size: 11px; line-height: 1.4; }
.text-\[13px\] { font-size: 13px; line-height: 1.4; }
.lg\:text-\[3\.3rem\] { }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.12\] { line-height: 1.12; }

.tracking-tight { letter-spacing: -.025em; }
.tracking-wide { letter-spacing: .025em; }
.tracking-widest { letter-spacing: .1em; }

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.normal-case { text-transform: none; }
.underline { text-decoration: underline; }
.list-none { list-style: none; }

/* -------------------------------------------------------------- */
/* 8. Color                                                         */
/* -------------------------------------------------------------- */
.text-ivory { color: var(--ivory); }
.text-dim { color: var(--dim); }
.text-dim\/70 { color: rgba(147,160,184,.7); }
.text-signal { color: var(--signal); }
.text-amber { color: var(--amber); }
.text-ink { color: var(--ink); }
.text-line { color: var(--line); }

.bg-ink { background-color: var(--ink); }
.bg-ink\/95 { background-color: rgba(11,18,32,.95); }
.bg-panel { background-color: var(--panel); }
.bg-panel\/40 { background-color: rgba(18,27,46,.4); }
.bg-panel2 { background-color: var(--panel2); }
.bg-line { background-color: var(--line); }
.bg-signal { background-color: var(--signal); }
.bg-signal\/10 { background-color: rgba(61,220,151,.1); }
.bg-amber { background-color: var(--amber); }
.bg-amber\/10 { background-color: rgba(232,163,61,.1); }

.placeholder-dim\/60::placeholder { color: rgba(147,160,184,.6); }

.accent-signal { accent-color: var(--signal); }

/* -------------------------------------------------------------- */
/* 9. Borders                                                       */
/* -------------------------------------------------------------- */
.border { border: 1px solid var(--line); }
.border-t { border-top: 1px solid var(--line); }
.border-b { border-bottom: 1px solid var(--line); }
.border-l { border-left: 1px solid var(--line); }
.border-y { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.border-line { border-color: var(--line); }
.border-amber\/40 { border-color: rgba(232,163,61,.4); }
.border-signal\/30 { border-color: rgba(61,220,151,.3); }
.border-signal\/40 { border-color: rgba(61,220,151,.4); }

.rounded { border-radius: .25rem; }
.rounded-md { border-radius: .375rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-full { border-radius: 9999px; }

/* -------------------------------------------------------------- */
/* 10. Effects / interaction                                        */
/* -------------------------------------------------------------- */
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.appearance-none { appearance: none; -webkit-appearance: none; -moz-appearance: none; }
.resize-y { resize: vertical; }
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
.transition { transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease, opacity .15s ease; }

.hover\:bg-signaldim:hover { background-color: var(--signaldim); }
.hover\:border-dim:hover { border-color: var(--dim); }
.hover\:text-ivory:hover { color: var(--ivory); }

.active\:scale-\[0\.99\]:active { transform: scale(0.99); }

.disabled\:opacity-60:disabled { opacity: .6; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* -------------------------------------------------------------- */
/* 11. Responsive — sm (>=640px)                                    */
/* -------------------------------------------------------------- */
@media (min-width: 640px) {
  .sm\:inline-block { display: inline-block; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:gap-6 { gap: 1.5rem; }
  .sm\:mb-12 { margin-bottom: 3rem; }
  .sm\:mt-6 { margin-top: 1.5rem; }
  .sm\:p-7 { padding: 1.75rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-9 { padding: 2.25rem; }
  .sm\:pt-16 { padding-top: 4rem; }
  .sm\:pb-20 { padding-bottom: 5rem; }
  .sm\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-sm { font-size: .875rem; line-height: 1.25rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-\[13px\] { font-size: 13px; }
}

/* -------------------------------------------------------------- */
/* 12. Responsive — md (>=768px)                                    */
/* -------------------------------------------------------------- */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* -------------------------------------------------------------- */
/* 13. Responsive — lg (>=1024px)                                   */
/* -------------------------------------------------------------- */
@media (min-width: 1024px) {
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:text-\[3\.3rem\] { font-size: 3.3rem; line-height: 1.12; }
}

/* -------------------------------------------------------------- */
/* 14. Form elements                                                */
/* -------------------------------------------------------------- */
input[type="text"], input[type="email"], select, textarea {
  background-color: var(--panel2);
  border: 1px solid var(--line);
}
input[type="checkbox"] { width: 1rem; height: 1rem; }

/* Successful submission state: hide every direct child of the form except
   the heading and the success message, rather than hiding fields one by one
   (which previously left decorative elements like the https:// prefix and
   select-arrow icons visible). */
#intake-form.is-success > *:not(h3):not(#form-success) {
  display: none !important;
}

#intake-form.is-success #form-success {
  display: block !important;
}
