/* I Wish I — site styles. Brand: navy #1f2a44, coral #ff6b4a, yellow #ffb703 */
:root {
  --ink: #1f2a44;
  --ink-soft: #4a5568;
  --coral: #ff6b4a;
  --coral-dark: #c2410c;
  --yellow: #ffb703;
  --cream: #fbf8f3;
  --line: #e7e1d6;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 42, 68, 0.12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 19px; line-height: 1.6; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-dark); }
a:hover { color: #9a3412; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 850; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.small { font-size: 0.85rem; color: var(--ink-soft); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 0; }
.logo img { width: 138px; height: auto; }
.main-nav { display: flex; gap: 6px 22px; flex-wrap: wrap; align-items: center; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; padding: 8px 2px; }
.main-nav a:hover { color: var(--coral-dark); }
.lang-switch { display: flex; gap: 6px; }
.lang-switch a { padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.85rem; }
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border-radius: 999px; font-weight: 800; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--font); }
.btn-primary { background: var(--coral-dark); color: #fff; }
.btn-primary:hover { background: #9a3412; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; background: var(--ink); color: #fff; }
.btn-small:hover { background: #111827; color: #fff; }
.btn-big { min-height: 60px; font-size: 1.15rem; padding: 14px 34px; }
.btn-disabled { background: #d9dde4; color: #4a5568; cursor: default; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* Hero */
.hero { padding: 56px 0 64px; background: radial-gradient(circle at 85% 20%, #fff1e6 0, transparent 45%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.kicker { font-weight: 800; color: var(--coral-dark); font-size: 1.05rem; letter-spacing: 0.02em; margin-bottom: 0.4em; }
.hero .kicker { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--ink-soft); font-family: var(--font-head); }
.wishes { display: flex; flex-direction: column; gap: 6px; font-size: clamp(1.9rem, 3.8vw, 2.75rem); }
.wishes a { color: var(--accent); text-decoration: none; }
.wishes a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.lede { font-size: 1.2rem; color: var(--ink-soft); }
.hero-covers { position: relative; height: 470px; }
.hero-covers img { position: absolute; width: 230px; border-radius: 10px; box-shadow: var(--shadow); }
.hero-covers .c0 { left: 0; top: 40px; transform: rotate(-7deg); }
.hero-covers .c1 { left: 27%; top: 0; z-index: 2; }
.hero-covers .c2 { right: 0; top: 50px; transform: rotate(6deg); }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--white); border-block: 1px solid var(--line); }
.section-title { text-align: center; }
.section-lede { text-align: center; color: var(--ink-soft); max-width: 640px; margin: 0 auto 36px; }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border-top: 6px solid var(--accent); }
.card-cover { background: #f1ede5; padding: 26px 40px 0; }
.card-cover img { border-radius: 8px 8px 0 0; box-shadow: 0 -4px 20px rgba(0,0,0,.08); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-wish { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink-soft); }
.card-wish strong { display: block; color: var(--accent); font-size: 1.35rem; line-height: 1.2; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--font-head); font-weight: 900; font-size: 1.6rem; color: var(--ink); }
.price.big { font-size: 2.3rem; }
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-line s { color: var(--ink-soft); font-size: 1.15rem; }
.save { background: #fff3bf; color: #7c4a03; font-weight: 800; padding: 2px 10px; border-radius: 999px; font-size: 0.9rem; }

.bundle { margin-top: 40px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 36px; }
.bundle .kicker { color: var(--yellow); }
.bundle h3 { font-size: 1.8rem; }
.bundle .price { color: #fff; }
.bundle s { color: #c9d1dc; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: 30px; }
.feature { text-align: center; }
.feature-star { display: inline-flex; width: 56px; height: 56px; border-radius: 16px; background: #fff1e6; align-items: center; justify-content: center; margin-bottom: 12px; }
.feature-star svg { width: 30px; height: 30px; fill: var(--coral); stroke: var(--coral); stroke-width: 2; stroke-linejoin: round; }
.big-star { width: 80px; height: 80px; }
.big-star svg { width: 44px; height: 44px; }

/* Free guide */
.free-cta { display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff1e6; border-radius: var(--radius); padding: 36px 40px; }
.free-cta h2 { margin-bottom: 0.3em; }
.free-cta > div { flex: 1 1 420px; }
.signup { display: grid; gap: 8px; max-width: 460px; margin-top: 18px; }
.signup label { font-weight: 700; }
.signup input { font: inherit; padding: 14px 16px; border: 2px solid #c9d1dc; border-radius: 12px; background: #fff; }
.signup input:focus { border-color: var(--ink); outline: none; }
.signup button { margin-top: 10px; }
.notice { background: #fff3bf; border-radius: 12px; padding: 16px 20px; margin-top: 18px; font-weight: 600; }
.free-visual img { border-radius: 12px; box-shadow: var(--shadow); transform: rotate(2deg); }

/* Articles */
.article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 26px; }
.article-item { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); }
.article-item:hover { border-color: var(--ink); }
.article-item h2, .article-item h3 { font-size: 1.3rem; }
.more { color: var(--coral-dark); font-weight: 800; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: 0.4em; }
.prose .note { background: #fff3bf; padding: 10px 14px; border-radius: 10px; font-size: 0.9rem; }
.crumbs { font-weight: 700; margin-bottom: 8px; }
.meta { color: var(--ink-soft); font-size: 0.95rem; }
.promo { display: flex; gap: 22px; align-items: center; margin-top: 40px; padding: 24px; background: var(--white); border-radius: var(--radius); border-left: 6px solid var(--accent); box-shadow: var(--shadow); }
.promo img { width: 110px; border-radius: 6px; flex: none; }
.promo-title { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 0.3em; }

/* FAQ */
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 18px 0; list-style-position: outside; }
.faq p { margin-bottom: 18px; color: var(--ink-soft); }
.faq-contact { margin-top: 26px; }

/* Product page */
.product-hero { padding: 48px 0 56px; background: linear-gradient(180deg, #fff 0, var(--cream) 100%); border-bottom: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: center; }
.product-cover img { border-radius: 10px; box-shadow: var(--shadow); margin-inline: auto; }
.product-hero h1 { color: var(--accent); }
.buy-notes { list-style: none; padding: 0; margin: 18px 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.buy-notes li::before { content: "✓ "; color: #2f9e44; font-weight: 900; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #d3f9d8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232b8a3e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.chapters { padding-left: 1.4em; }
.chapters li { margin-bottom: 6px; }
.samples { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 30px; margin-top: 24px; }
.samples img { border-radius: 8px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.guarantee { display: flex; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 26px 0; }
.guarantee .feature-star { margin: 0; flex: none; }
.included { display: grid; gap: 14px; }
.included-item { display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.included-item img { width: 70px; border-radius: 4px; }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 24px; }
.mini-card { display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); background: var(--cream); border-radius: 14px; padding: 14px; }
.mini-card img { width: 80px; border-radius: 4px; flex: none; }

/* Footer */
.site-footer { background: var(--ink); color: #dfe4ec; padding: 48px 0 26px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer img { margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #3a4560; margin-top: 30px; padding-top: 18px; color: #c9d1dc; font-size: 0.85rem; }

/* Phones and tablets */
@media (max-width: 900px) {
  .hero-grid, .product-grid, .two-col, .bundle { grid-template-columns: 1fr; }
  .hero-covers { height: 290px; max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-covers img { width: 160px; }
  .cards { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .product-cover img { max-width: 260px; }
}
@media (max-width: 520px) {
  body { font-size: 18px; }
  .features { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .bundle, .free-cta { padding: 26px; }
  .promo { flex-direction: column; align-items: flex-start; }
  .main-nav { gap: 2px 14px; }
}
