:root {
  color-scheme: light;
  --ink: #0d1728;
  --muted: #5d6878;
  --line: #dce2ea;
  --panel: #ffffff;
  --canvas: #f3f5f8;
  --accent: #ffb000;
  --accent-soft: #fff2ca;
  --shadow: 0 22px 60px rgba(22, 33, 52, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--canvas); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 176, 0, 0.13), transparent 28rem),
    linear-gradient(180deg, #fafbfc 0, var(--canvas) 34rem);
}

a { color: inherit; }

.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(220, 226, 234, 0.9);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 7px;
  border-radius: 10px;
  background: var(--ink);
}

.brand-mark i { border-radius: 2px; background: white; }
.brand-mark i:last-child { background: var(--accent); }

.header-note {
  font-size: 0.82rem;
  color: #38634d;
  padding: 8px 12px;
  border: 1px solid #cee1d5;
  border-radius: 999px;
  background: #f3fbf6;
}

main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.intro { max-width: 750px; padding: 82px 0 66px; }

.eyebrow {
  margin: 0 0 18px;
  color: #7a6330;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.19em;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
  overflow-wrap: anywhere;
}

.intro-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.tool-section { padding-bottom: 100px; }

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-heading h2 { margin: 0; font-size: 1.15rem; }
.section-heading span { color: var(--muted); font-size: 0.85rem; }

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.85fr);
  gap: 18px;
}

.tool-card {
  min-height: 220px;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(22, 33, 52, 0.045);
  text-decoration: none;
  overflow: hidden;
}

a.tool-card {
  padding-right: 160px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

a.tool-card::after {
  content: "";
  width: 140px;
  height: 140px;
  position: absolute;
  right: -42px;
  bottom: -58px;
  border: 30px solid var(--accent-soft);
  border-radius: 50%;
}

a.tool-card:hover,
a.tool-card:focus-visible {
  transform: translateY(-3px);
  border-color: #c8aa62;
  box-shadow: var(--shadow);
  outline: none;
}

.tool-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--ink);
  background: var(--accent);
}

.tool-icon svg { width: 33px; height: 33px; }
.tool-icon svg path:first-child { fill: white; stroke: none; }
.tool-icon svg path:last-child { fill: none; stroke: currentColor; stroke-width: 1.7; }

.tool-copy { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.tool-copy strong { font-size: 1.35rem; letter-spacing: -0.025em; }
.tool-copy > span { color: var(--muted); font-size: 0.96rem; line-height: 1.65; overflow-wrap: anywhere; }

.tool-copy small { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 5px; }
.tool-copy b {
  padding: 5px 8px;
  border-radius: 6px;
  color: #596474;
  background: #f1f4f7;
  font-size: 0.7rem;
  font-weight: 700;
}

.open-tool {
  position: absolute;
  right: 30px;
  top: 34px;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 750;
}

.open-tool i { color: #a16e00; font-size: 1.2rem; font-style: normal; }

.upcoming {
  align-items: center;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: none;
}

.upcoming-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #cfd6df;
  border-radius: 15px;
  color: #7b8796;
  font-size: 1.7rem;
}

footer {
  width: min(1120px, calc(100% - 48px));
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  color: #778190;
  font-size: 0.8rem;
}

@media (max-width: 820px) {
  .site-header { padding: 0 20px; }
  .header-note { display: none; }
  main { width: calc(100% - 32px); max-width: 680px; }
  .intro { padding: 58px 0 46px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 190px; }
  footer { width: calc(100% - 32px); }
}

@media (max-width: 560px) {
  h1 { font-size: 2.15rem; line-height: 1.13; letter-spacing: -0.045em; }
  .intro-copy { font-size: 1rem; }
  .tool-card, a.tool-card { gap: 14px; padding: 22px; }
  a.tool-card { padding-bottom: 74px; }
  .tool-icon { width: 48px; height: 48px; border-radius: 14px; }
  .open-tool { left: 84px; right: auto; top: auto; bottom: 24px; }
  footer { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
