:root {
  /* "Premium & Dynamic Blue" SaaS Theme */
  --bg: #F8FAFC;
  /* Light slate/off-white */
  --bg-soft: #F1F5F9;
  --surface: rgba(255, 255, 255, 0.95);
  --surface-solid: #FFFFFF;
  --ink: #0F172A;
  /* Slate 900 for sharp contrast */
  --muted: #64748B;
  /* Slate 500 */
  --line: #E2E8F0;
  /* Clean light border */

  /* Primary & Accent Colors */
  --brand: #2563EB;
  /* Bright modern blue */
  --brand-strong: #1D4ED8;
  --brand-light: #DBEAFE;

  --accent: #3B82F6;
  /* Lighter blue for accents */
  --accent-soft: #EFF6FF;

  --sky: #0EA5E9;
  --ok: #10B981;
  /* Emerald green for positive states */

  /* Modern SaaS Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.1), 0 1px 2px -1px rgba(15, 23, 42, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
  --shadow-hover: 0 20px 25px -5px rgba(37, 99, 235, 0.1), 0 8px 10px -6px rgba(37, 99, 235, 0.1);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.2);

  --radius-sm: 12px;
  --radius: 24px;
  --radius-pill: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  /* Clean SaaS style gradient */
  background-image:
    radial-gradient(circle at 15% 50px, rgba(37, 99, 235, 0.06), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(14, 165, 233, 0.04), transparent 25%);
  background-attachment: fixed;
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="1" cy="1" r="1" fill="rgba(29,78,216,0.03)"/></svg>');
  background-size: 24px 24px;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

h1,
h2,
h3,
h4 {
  font-family: inherit;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero h1,
.hero p,
.section p,
.section .section-lead,
.story-accordion-content p,
.story-content p,
.faq-item .answer {
  text-wrap: pretty;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

/* Header - Glassmorphism */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-main {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.nav-toggle {
  display: none;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.nav-menu a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid transparent;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.is-current {
  background: var(--surface-solid);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.cta-mini {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-mini:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

main {
  padding: 46px 0 72px;
}

.hero {
  padding: 60px 0 30px;
}

.hero-center {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  margin: 0 0 20px;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.35;
}

.hero p {
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 680px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 32px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.chip i {
  color: var(--brand);
  font-size: 1.1rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: pointer;
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
  border: none;
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
  background: var(--brand-strong);
}

.button-secondary {
  border: 2px solid var(--line);
  background: var(--surface-solid);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover:not([aria-disabled="true"]):not(:disabled) {
  border-color: var(--brand-light);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button-secondary[disabled],
.button-secondary[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}

.full-width {
  width: 100%;
}

.section {
  margin-top: 60px;
}

section[id] {
  scroll-margin-top: 100px;
}

.section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.section p.section-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 800px;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.format-grid>*:nth-child(1),
.format-grid>*:nth-child(2),
.format-grid>*:nth-child(3) {
  grid-column: span 2;
}

.format-grid>*:nth-child(4),
.format-grid>*:nth-child(5) {
  grid-column: span 3;
}

@media (max-width: 991px) {
  .format-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .format-grid>*:nth-child(1),
  .format-grid>*:nth-child(2),
  .format-grid>*:nth-child(3),
  .format-grid>*:nth-child(4),
  .format-grid>*:nth-child(5) {
    grid-column: span 1;
  }

  .format-grid>*:nth-child(3) {
    grid-column: span 2;
    /* Center the odd one out on tablet */
  }
}

.card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-light);
}

.card h3 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card h3 i {
  color: var(--brand);
  font-size: 1.6rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.card ul {
  margin: 20px 0 0;
  padding-left: 24px;
  color: var(--muted);
}

.card li {
  margin-bottom: 10px;
}

/* Story Layout for Profile */
.profile-two-column {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}

.profile-left {
  position: sticky;
  top: 100px;
  /* Offset for header/padding */
}

/* Adjust headings for the left column layout */
.profile-left h2 {
  margin-bottom: 16px;
  font-size: 2.2rem;
  line-height: 1.3;
}

.profile-left .name-reading {
  font-size: 1.2rem;
  color: var(--muted);
  display: inline-block;
  margin-left: 0.35em;
}

.profile-left .section-lead {
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* Hero Profile Block (Left Column) */
.hero-profile {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.hero-profile-image {
  width: 100%;
}

.hero-profile-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-profile-content h3 {
  color: var(--brand);
  font-size: 1.3rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-profile-content p {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.hero-profile-content p:last-child {
  margin-bottom: 0;
}

/* Responsive adjustments for two-column profile */
@media (max-width: 992px) {
  .profile-two-column {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 760px;
  }

  .profile-left {
    position: static;
  }

  .profile-left h2 {
    text-align: center;
  }

  .profile-left .section-lead {
    text-align: center;
  }

  .hero-profile {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }

  .hero-profile-image {
    width: 280px;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .hero-profile {
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
  }

  .hero-profile-image {
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
  }

  .hero-profile-image img {
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-md);
  }

  .profile-left h2 {
    font-size: 1.8rem;
  }

  .profile-left .name-reading {
    display: block;
    margin-left: 0;
    margin-top: 2px;
  }

  .profile-left .section-lead {
    font-size: 0.95rem;
    margin-bottom: 24px;
    padding: 0 12px;
  }

  .hero-profile-content h3 {
    text-align: center;
    font-size: 1.2rem;
  }

  .hero-profile-content p {
    font-size: 0.95rem;
  }
}

.accordion-section-title {
  margin: 0 0 24px 0;
  font-size: 1.3rem;
  color: var(--muted);
  font-weight: 500;
}

/* Accordion Stories */
.story-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.story-accordion {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  transition: var(--transition);
  overflow: hidden;
}

.story-accordion:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-md);
}

.story-accordion summary {
  list-style: none;
  /* Hide default arrow */
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

/* Safari specific fix to hide summary arrow */
.story-accordion summary::-webkit-details-marker {
  display: none;
}

.story-accordion-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.story-accordion-header .story-icon {
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-accordion-header .story-title {
  margin: 0;
  font-size: 1.25rem;
  color: var(--ink);
}

.accordion-toggle {
  color: var(--muted);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-bg);
  flex-shrink: 0;
}

.story-accordion[open] .accordion-toggle {
  transform: rotate(180deg);
  color: var(--brand);
  background: rgba(37, 99, 235, 0.1);
}

.story-accordion[open] summary {
  border-bottom: 1px dashed var(--line);
}

.story-accordion-content {
  padding: 24px;
  animation: accordionFade 0.3s ease-in-out;
}

@keyframes accordionFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .story-accordion summary {
    padding: 16px;
  }

  .story-accordion-header .story-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .story-accordion-header .story-title {
    font-size: 1.05rem;
  }

  .story-accordion-content {
    padding: 16px;
    font-size: 0.95rem;
  }

  .story-card.story-finale {
    padding: 32px 20px;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 16px;
  }

  .story-card.story-finale .story-title {
    text-align: center;
    margin-bottom: 8px;
  }
}

.story-card {
  display: flex;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  transition: var(--transition);
  position: relative;
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.2);
}

.story-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.story-content {
  flex-grow: 1;
}

.story-title {
  margin: 0 0 16px;
  font-size: 1.4rem;
  color: var(--ink);
  font-family: inherit;
}

.story-content p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.story-content p:last-child {
  margin-bottom: 0;
}

.story-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  background: rgba(37, 99, 235, 0.03);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.story-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.05rem;
}

.story-list li:last-child {
  margin-bottom: 0;
}

.story-content .note {
  font-size: 0.9rem;
  color: var(--muted);
  background: rgba(240, 240, 240, 0.5);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
}

.story-finale {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(14, 165, 233, 0.05));
  border: 1px solid rgba(37, 99, 235, 0.2);
  text-align: center;
  flex-direction: column;
  align-items: center;
  padding: 56px 40px;
}

.story-finale .story-icon {
  width: 64px;
  height: 64px;
  font-size: 2rem;
  background: var(--brand);
  color: #fff;
  margin-bottom: 24px;
}

.story-finale .story-title {
  font-size: 1.8rem;
}

.story-finale .finale-text {
  font-size: 1.4rem;
  color: var(--brand-strong);
  margin-bottom: 24px;
  font-weight: bold;
}

@media (max-width: 640px) {
  .story-card {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .story-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}

/* Pricing Cards (SaaS Style) */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}

@media (max-width: 991px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-card.highlighted {
    transform: none;
  }

  .pricing-card.highlighted:hover {
    transform: translateY(-8px);
  }
}

.pricing-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-light);
}

.pricing-card.highlighted {
  border: 2px solid var(--brand);
  background: var(--surface-solid);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
  z-index: 10;
}

.pricing-card.highlighted:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-icon i {
  font-size: 2.5rem;
  color: var(--brand);
  margin-bottom: 20px;
  display: inline-block;
  padding: 16px;
  background: var(--brand-light);
  border-radius: 50%;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--muted);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.pricing-card p {
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: auto 0 32px 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 500;
}

.text-ok {
  color: var(--ok);
  font-size: 1.2rem;
}

.notice {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 4px solid var(--brand);
  background: var(--brand-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--brand-strong);
  font-weight: 600;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.notice i {
  font-size: 1.6rem;
  color: var(--brand);
  margin-top: 0;
  flex-shrink: 0;
}

.notice span {
  display: inline-block;
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  position: relative;
}

.flow::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 24px;
  bottom: 40px;
  width: 2px;
  background: var(--line);
  z-index: 0;
}

.flow li {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.flow li:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-light);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.flow li:hover .step-number {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.flow li div strong {
  font-size: 1.2rem;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.step-text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 1);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
}

.faq-item .answer {
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.6;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.copy-box {
  background: #10292a;
  color: #eef7f7;
  border-radius: 14px;
  padding: 16px;
  font-family: "JetBrains Mono", "SF Mono", "Menlo", monospace;
  font-size: 0.88rem;
  white-space: pre-wrap;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 20px;
  margin-top: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02), 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
  background: rgba(255, 255, 255, 0.9);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.15);
  /* Blue highlight outline */
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
  background: rgba(255, 247, 237, 0.85);
  /* Cream opacity */
  color: var(--muted);
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--brand);
}

/* Animation Reveals */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 980px) {

  .hero-grid,
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .header-inner {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface-solid);
    color: var(--ink);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    right: 4vw;
    width: min(320px, 90vw);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-menu.is-open {
    display: flex;
    animation: navFadeIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  @keyframes navFadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px) scale(0.95);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .cta-mini {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Convert grids to horizontal carousels on mobile to avoid long scrolling */
  .grid-2,
  .grid-3,
  .format-grid,
  .pricing-cards {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 24px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    align-items: stretch;
  }

  .grid-2::-webkit-scrollbar,
  .grid-3::-webkit-scrollbar,
  .format-grid::-webkit-scrollbar,
  .pricing-cards::-webkit-scrollbar {
    display: none;
  }

  .grid-2>*,
  .grid-3>*,
  .format-grid>*,
  .pricing-cards>* {
    flex: 0 0 85%;
    max-width: 320px;
    scroll-snap-align: start;
    /* Ensure they don't shrink and keep proper height */
    height: auto;
    min-height: 100%;
  }

  .hero {
    padding-top: 20px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .flow::before {
    left: 20px;
  }

  .flow li {
    padding: 16px;
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

.text-center {
  text-align: center;
}

.full-width {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  margin-top: auto;
}
