/* CodeTick website styles */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/sora-latin-700-normal.woff2") format("woff2"); }

:root {
  --cream: #FFF7E8;
  --ink: #17132E;
  --muted: #4A4660;
  --white: #FFFFFF;
  --coral: #FF6B4A;
  --yellow: #FFD43B;
  --mint: #3DDC97;
  --sky: #5CC8FF;
  --coral-tint: #FFE3DA;
  --yellow-tint: #FFF1BF;
  --mint-tint: #D6F7E7;
  --sky-tint: #DCF1FF;
  --on-ink: #FFF7E8;
  --on-ink-muted: #D5D1E6;
  --field-border: #8E8AA3;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
img, svg { display: block; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--on-ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 10; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--white); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; color: var(--white); }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.stripe { display: flex; height: 8px; }
.stripe span { flex: 1; }
.stripe span:nth-child(1) { background: var(--coral); }
.stripe span:nth-child(2) { background: var(--yellow); }
.stripe span:nth-child(3) { background: var(--mint); }
.stripe span:nth-child(4) { background: var(--sky); }

/* Type */
.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.5vw, 70px); line-height: 1.08; letter-spacing: -0.035em; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.3; letter-spacing: -0.02em; }
.lead { font-size: 19px; color: var(--muted); max-width: 520px; }
.section-intro { margin-top: 12px; max-width: 560px; font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); }

/* Buttons and pills */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.3; min-height: 54px; padding: 8px 26px; border: 0; border-radius: 14px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-coral { background: var(--coral); color: var(--ink); }
.btn-coral:hover { background: #FF8266; color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); font-weight: 600; }
.btn-white:hover { background: #F4ECDC; color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #2B2550; color: var(--white); }
.btn-small { min-height: 46px; padding: 0 20px; font-size: 15px; font-weight: 600; }

.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink); }
.pill-yellow { background: var(--yellow); }
.pill-mint { background: var(--mint); }
.pill-sky { background: var(--sky); }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .badge { width: 42px; height: 42px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -0.03em; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.site-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 500; text-decoration: none; }
.site-nav .btn { margin-left: 8px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; padding-top: 56px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 600; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--mint); }
.hero h1 { margin-top: 22px; }
.hero h1 mark { display: inline-block; padding: 0 0.18em; border-radius: 0.22em; background: var(--yellow); color: inherit; }
.hero .lead { margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-art-wrap { flex: 0 1 380px; min-width: 0; display: flex; justify-content: center; }
.hero-art { position: relative; width: clamp(260px, 30vw, 380px); aspect-ratio: 1; }
.hero-art span { position: absolute; aspect-ratio: 1; border-radius: 25%; }
.hero-art .s1 { top: 2%; right: 4%; width: 40%; background: var(--yellow); transform: rotate(12deg); }
.hero-art .s2 { bottom: 3%; left: 2%; width: 32%; background: var(--mint); transform: rotate(-14deg); }
.hero-art .s3 { bottom: 8%; right: 0; width: 22%; background: var(--sky); transform: rotate(8deg); }
.hero-art .s4 { top: 12%; left: 0; width: 16%; background: var(--coral); transform: rotate(-10deg); }
.hero-art .badge { position: absolute; top: 15%; left: 15%; width: 70%; height: 70%; transform: rotate(-6deg); filter: drop-shadow(0 26px 34px rgba(23, 19, 46, 0.24)); }

/* Panels and cards */
.panel { padding: 36px; background: var(--white); border-radius: 28px; }
.panel h2 { margin-bottom: 24px; font-size: 22px; letter-spacing: -0.02em; line-height: 1.3; }
.steps { display: flex; flex-wrap: wrap; gap: 24px 28px; }
.steps li { flex: 1 1 210px; min-width: 0; display: flex; gap: 14px; align-items: flex-start; }
.steps .num { flex: none; width: 34px; height: 34px; border-radius: 25%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; }
.steps li:nth-child(1) .num { background: var(--coral); }
.steps li:nth-child(2) .num { background: var(--yellow); }
.steps li:nth-child(3) .num { background: var(--mint); }
.steps li:nth-child(4) .num { background: var(--sky); }
.steps strong { display: block; font-weight: 600; }
.steps p { font-size: 15px; color: var(--muted); }

.section { padding-top: 96px; padding-bottom: 96px; }
.cards { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.card { flex: 1 1 300px; min-width: 0; padding: 32px; background: var(--white); border-radius: 28px; }
.card h3 { margin: 22px 0 8px; }
.card p { color: var(--muted); }
.card .pill + h3 { margin-top: 18px; }
.card-coral { background: var(--coral-tint); }
.card-yellow { background: var(--yellow-tint); }
.card-mint { background: var(--mint-tint); }
.card-coral p, .card-yellow p, .card-mint p { color: #3F3B55; }
.icon { width: 52px; height: 52px; border-radius: 25%; display: flex; align-items: center; justify-content: center; }
.icon svg { width: 26px; height: 26px; }
.card-coral .icon { background: var(--coral); }
.card-yellow .icon { background: var(--yellow); }
.card-mint .icon { background: var(--mint); }

/* Why band */
.band { background: var(--sky-tint); }
.band .wrap { padding-top: 88px; padding-bottom: 88px; }
.tiles { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; }
.tile { flex: 1 1 230px; min-width: 0; padding: 28px; background: var(--white); border-radius: 24px; }
.tile::before { content: ""; display: block; width: 18px; height: 18px; margin-bottom: 14px; border-radius: 25%; }
.tile:nth-child(1)::before { background: var(--coral); }
.tile:nth-child(2)::before { background: var(--yellow); }
.tile:nth-child(3)::before { background: var(--mint); }
.tile:nth-child(4)::before { background: var(--sky); }
.tile h3 { margin-bottom: 8px; font-size: 18px; letter-spacing: 0; }
.tile p { font-size: 15px; color: var(--muted); }

/* Hiresonate */
.product { padding-top: 96px; }
.on-ink { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; padding: clamp(28px, 5vw, 64px); background: var(--ink); color: var(--on-ink); border-radius: 36px; }
.on-ink .copy { flex: 1 1 440px; min-width: 0; }
.on-ink h2 { margin-top: 18px; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; }
.on-ink .lead { margin: 16px 0 24px; color: var(--on-ink-muted); }
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 25%; background-color: var(--coral); background-repeat: no-repeat; background-position: center; background-size: 15px 15px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317132E' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ticks li:nth-child(2)::before { background-color: var(--mint); }
.ticks li:nth-child(3)::before { background-color: var(--sky); }
.ticks li:nth-child(4)::before { background-color: var(--yellow); }
.signup { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 32px; background: var(--white); color: var(--ink); border-radius: 24px; }
.signup h3 { font-size: 22px; line-height: 1.25; }
.signup p { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { padding-bottom: 96px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin-top: 32px; }
.faq-list details { padding: 0 22px; background: var(--white); border-radius: 18px; }
.faq-list summary { padding: 18px 0; font-weight: 600; cursor: pointer; }
.faq-list details p { padding-bottom: 18px; color: var(--muted); }

/* Contact */
.contact { padding-bottom: 96px; }
.contact-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 36px 64px; padding: clamp(28px, 5vw, 64px); background: var(--coral); border-radius: 36px; }
.contact-copy { flex: 1 1 400px; min-width: 0; }
.contact-copy h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; }
.contact-copy p { margin: 12px 0 20px; max-width: 480px; font-size: 18px; }
.contact-copy .email { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.form { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--white); border-radius: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--field-border); border-radius: 12px; background: var(--white); font: inherit; color: var(--ink); }
.field input { min-height: 50px; }
.field textarea { resize: vertical; }
.hint { font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #C9C5DD; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-top: 40px; padding-bottom: 48px; font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--on-ink); }
.footer-brand svg { width: 52px; height: 24px; }
.footer-brand span { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.legal { flex: 1 1 520px; min-width: 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-ink); }
.site-footer a:hover { color: var(--white); }

/* Text pages (privacy, 404) */
.page { max-width: 760px; padding-top: 48px; padding-bottom: 96px; }
.page h1 { font-size: clamp(34px, 4.6vw, 54px); }
.page h2 { margin: 40px 0 10px; font-size: 24px; letter-spacing: -0.02em; line-height: 1.25; }
.page p, .page li { color: #3F3B55; }
.page p + p, .page ul + p { margin-top: 12px; }
.page ul { margin-top: 10px; padding-left: 22px; list-style: disc; }
.page li + li { margin-top: 6px; }
.page .updated { margin-top: 12px; font-size: 15px; color: var(--muted); }

@media (max-width: 640px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-top: 32px; padding-bottom: 64px; }
  .panel, .card, .signup, .form { padding: 24px; }
  .site-nav .btn { margin-left: 0; }
}
