/* iAshtanga home — page styles. Tokens and component classes come from organic.css. */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  overflow-x: clip;
  text-wrap: pretty;
  position: relative;
  min-height: 100vh;
}

/* Inline links use accent-700 or darker: base accent is only ~3:1 against the background. */
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-800); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

/* — wordmark — */
.wordmark { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }
.wordmark .i { color: var(--color-accent); }

/* — header / nav — */
.site-nav {
  padding-inline: clamp(20px, 5vw, 72px);
  position: relative;
  z-index: 2;
}
.site-nav .nav-brand { font-size: 26px; letter-spacing: 0; }
.site-nav .btn { text-decoration: none; }
@media (max-width: 480px) {
  .site-nav .nav-link { display: none; }
}

/* — hero — */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px);
}
.hero-decoration {
  position: absolute;
  right: -160px;
  top: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: var(--color-accent-2-200);
  z-index: 0;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
  margin: 0;
}
.hero-title span { display: block; }
.hero-title .accent { color: var(--color-accent); }
.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  margin: 0;
  max-width: 34ch;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { text-decoration: none; }
.hero-figure {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  aspect-ratio: 4 / 4.4;
  justify-self: end;
  border-radius: 50% 50% calc(2 * var(--radius-lg)) calc(2 * var(--radius-lg));
  overflow: hidden;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

/* — audience cards — */
.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  padding: 0 0 clamp(56px, 8vw, 96px);
}
.audience-card {
  border-radius: calc(2 * var(--radius-lg));
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.audience-card.is-suggest { background: var(--color-accent-100); }
.audience-card.is-invest { background: var(--color-accent-2-100); }
.audience-card.is-toronto { background: var(--color-surface); }
.icon-disc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-bg);
}
.is-suggest .icon-disc { background: var(--color-accent); }
.is-invest .icon-disc { background: var(--color-accent-2); }
.is-toronto .icon-disc { background: var(--color-text); }
.audience-card h2 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
}
.audience-card p { font-size: 16px; line-height: 1.65; margin: 0; }

/* — feedback panel — */
.feedback { padding: 0 0 clamp(56px, 8vw, 96px); }
.feedback-panel {
  background: var(--color-accent-2-200);
  border-radius: calc(2 * var(--radius-lg));
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px 64px;
  align-items: start;
}
.feedback-intro { display: flex; flex-direction: column; gap: 16px; }
.feedback-intro h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0;
}
.feedback-intro p { font-size: 16px; line-height: 1.65; margin: 0; max-width: 40ch; }
.feedback-form { display: flex; flex-direction: column; gap: 16px; }
.feedback-form .seg { align-self: flex-start; }
/* organic.css keys the selected segment on a hidden checked input; this page uses
   aria-checked buttons per the spec, so the same states are mirrored here. */
.feedback-form .seg-opt {
  font: inherit; font-size: 13px; color: inherit;
  background: transparent; border: 0;
}
.feedback-form .seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.feedback-form .seg-opt[aria-checked="true"] { background: var(--color-accent); color: var(--color-bg); }
.feedback-form .seg-opt[aria-checked="false"]:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.feedback-form .seg-opt:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.feedback-form textarea.input {
  border-radius: var(--radius-lg);
  resize: vertical;
  font-family: inherit;
}
.feedback-submit { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.feedback-note { font-size: 14px; color: var(--color-neutral-700); }
.feedback-success {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feedback-success strong {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 22px;
}
.feedback-success span { font-size: 16px; line-height: 1.6; }
.feedback-success a { font-size: 14px; }
[hidden] { display: none !important; }

/* — footer — */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 48px;
  font-size: 14px;
}
.site-footer .footer-brand { display: flex; align-items: center; gap: 12px; }
.site-footer .wordmark { font-size: 22px; }
.site-footer .copyright { color: var(--color-neutral-700); }
