/* Margin & Method Co: brand home.
   Brand colors from "Margin & Method Co.ai": forest #091E0C, leaf #78A845, sage #E4EADF, moss #3F5442, fern #44AA55.
   Brand font is Late Serif; Literata stands in until an Adobe Fonts kit with Late Serif is added (see DOMAIN-CHECKLIST.md). */
:root {
  --forest: #091E0C; --leaf: #78A845; --fern: #44AA55; --sage: #E4EADF; --moss: #3F5442;
  --paper: #F4F7F1; --card: #FFFFFF; --line: #D6DFD0; --muted: #4E6151;
  --sun: #FFD87A; --blush: #F6DCCB; --sky: #DCE7F7;
  --serif: 'late-serif', 'Literata', Georgia, serif; --body: 'Figtree', system-ui, sans-serif;
  --cubes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23C9D5C1' stroke-width='1'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23C9D5C1' stroke-width='1'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--forest); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--leaf); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--moss); background: var(--sage); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 16px var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-forest { background: var(--forest); color: var(--sage); }
.btn-forest:hover { background: #163A1C; }
.btn-soft { background: var(--card); color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-leaf { background: var(--leaf); color: var(--forest); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.logo { display: block; width: 270px; }
.nav { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--forest); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; color: var(--sage); }

/* Hero */
.hero-band { background: var(--sage) var(--cubes); border-bottom: 1px solid var(--line); }
.hero { padding: 40px 0 80px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6.4vw, 78px); }
.squig { position: relative; white-space: nowrap; }
.squig svg { position: absolute; left: 0; right: 0; bottom: -0.16em; width: 100%; height: 0.32em; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 36px 0 32px; max-width: 520px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hello { display: flex; align-items: center; gap: 12px; margin-top: 30px; font-size: 15px; color: var(--muted); }
.hello img { width: 46px; height: 46px; border-radius: 14px; }
.hero-art { position: relative; }
.hero-art .photo { border-radius: 36px; overflow: hidden; box-shadow: 0 30px 60px rgba(9,30,12,.18); transform: rotate(1.5deg); border: 8px solid #fff; }
.sticker { position: absolute; background: #fff; border-radius: 20px; padding: 12px 16px; box-shadow: 0 14px 30px rgba(9,30,12,.16); font-size: 14px; line-height: 1.3; display: flex; align-items: center; gap: 10px; }
.sticker b { display: block; font-size: 15px; }
.sticker .dot { width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.sticker.s1 { left: -26px; top: 26px; transform: rotate(-4deg); }
.sticker.s2 { right: -18px; top: 22%; transform: rotate(3deg); }
.sticker.s3 { left: 30px; bottom: -22px; transform: rotate(-2deg); }
.amp { position: absolute; right: -10px; top: -46px; width: 92px; opacity: .9; transform: rotate(8deg); }

/* Values strip */
.values { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 30px; padding: 26px 0; font-weight: 700; color: var(--moss); font-size: 15px; }
.values span { display: inline-flex; align-items: center; gap: 8px; }
.values i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--sage); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--fern); }

/* Sections */
section.block { padding: 76px 0; }
.head-c { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.head-c h2 { font-size: clamp(34px, 4.4vw, 50px); }
.head-c p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }

/* Products */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.prod { background: var(--card); border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; box-shadow: 0 2px 0 var(--line), 0 18px 40px rgba(9,30,12,.08); transition: transform .2s, box-shadow .2s; }
.prod:hover { transform: translateY(-5px) rotate(-.3deg); box-shadow: 0 2px 0 var(--line), 0 28px 56px rgba(9,30,12,.14); }
.prod .pic { margin: 14px 14px 0; border-radius: 22px; overflow: hidden; aspect-ratio: 1600 / 900; }
.prod .pic img { width: 100%; height: 100%; object-fit: cover; }
.prod .txt { padding: 24px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod .who { display: flex; align-items: center; gap: 12px; }
.prod .who img { width: 48px; height: 48px; border-radius: 13px; flex: none; object-fit: contain; }
.prod h3 { font-size: 28px; }
.prod p { margin: 0; color: var(--muted); font-size: 16px; }
.chips { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.prod .go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 800; }
.prod.budget .who img { background: #111413; }
.prod.budget .chips li { background: #E3F4E6; color: #1E6B33; }
.prod.budget .go { color: #1E6B33; }
.prod.dash .who img { background: #0E1322; padding: 6px; }
.prod.dash .chips li { background: var(--sky); color: #2A4C8C; }
.prod.dash .go { color: #2A4C8C; }
.price { background: var(--sun); color: var(--forest); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }

/* Printables */
.print { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; background: var(--blush); border-radius: 36px; padding: 34px; }
.print img { border-radius: 26px; }
.print h2, .free h2 { font-size: clamp(32px, 3.8vw, 44px); }
.print p { color: #5A4A3F; margin: 16px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks li::before { content: '✓'; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--fern); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.print .kicker { background: #fff; }

/* Free pages */
.free { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; background: var(--forest); color: var(--sage); border-radius: 36px; padding: 34px; overflow: hidden; }
.free::after { content: ''; position: absolute; inset: 0; background: var(--cubes); opacity: .06; pointer-events: none; }
.free > * { position: relative; z-index: 1; }
.free img { border-radius: 26px; }
.free .kicker { background: #163A1C; color: var(--sage); }
.free h2 em { color: var(--leaf); }
.free p { color: #B9C8B6; margin: 16px 0 22px; }
.signup { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type=email] { flex: 1 1 220px; min-height: 52px; border-radius: 999px; border: 1.5px solid #2E4A31; background: #102914; color: #fff; font: 500 16px var(--body); padding: 0 20px; }
.signup input[type=email]::placeholder { color: #7F9480; }
.signup input[type=email]:focus { outline: 2px solid var(--leaf); outline-offset: 2px; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.note { font-size: 14px; color: #8FA48E; margin: 12px 0 0; }
.note a { color: var(--sage); }

/* About */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.about .card { position: relative; background: var(--sage) var(--cubes); border-radius: 36px; padding: 34px; text-align: center; }
.about .card img.mono { width: 132px; margin: 0 auto 18px; border-radius: 30px; transform: rotate(-4deg); box-shadow: 0 16px 30px rgba(9,30,12,.2); }
.about .card .tag { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--moss); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; text-align: left; }
.facts div { background: #fff; border-radius: 20px; padding: 14px 16px; }
.facts b { display: block; font-family: var(--serif); font-size: 30px; line-height: 1; }
.facts span { font-size: 14px; color: var(--muted); }
.about h2 { font-size: clamp(34px, 4.2vw, 48px); margin-bottom: 18px; }
.about .say p { margin: 0 0 16px; color: #2E4031; font-size: 18px; }
.about .sig { font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--leaf); }

/* Footer */
.foot { background: var(--forest); color: #B9C8B6; margin-top: 60px; }
.foot .wrap { padding-top: 44px; padding-bottom: 44px; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.foot .brand img { width: 260px; }
.foot .brand p { font-family: var(--serif); font-style: italic; color: var(--leaf); font-size: 19px; margin: 10px 0 0; }
.foot nav { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 14px; }
.foot a { color: var(--sage); }
.foot small { display: block; width: 100%; font-size: 13px; color: #7F9480; }

/* Plain text pages */
.doc { max-width: 760px; margin: 0 auto; padding: 30px 0 20px; }
.doc h1 { font-size: 48px; margin-bottom: 10px; }
.doc h2 { font-size: 24px; margin: 34px 0 8px; }
.doc p, .doc li { color: #2E4031; }

@media (max-width: 900px) {
  .hero, .print, .free, .about { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 16px 0 70px; }
  .hero-art { max-width: 560px; margin: 0 auto; }
  .products { grid-template-columns: 1fr; }
  section.block { padding: 52px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .logo { width: 190px; }
  .nav a:not(.btn) { display: none; }
  .nav .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .sticker { font-size: 12px; padding: 9px 12px; }
  .sticker.s1 { left: -6px; top: 12px; }
  .sticker.s2 { right: -4px; }
  .amp { width: 64px; right: 4px; top: -36px; }
  .print, .free { padding: 18px; border-radius: 28px; }
  .about .card { padding: 24px 18px; }
  .prod .txt { padding: 20px 20px 24px; }
  .signup .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .prod { transition: none; } }
.print h2 em { color: #4D7F2A; }

/* Inset screenshot on a product photo */
.prod .pic { position: relative; }
.prod .pic .inset { position: absolute; right: 14px; bottom: 14px; width: 44%; height: auto; border-radius: 12px; border: 4px solid #fff; box-shadow: 0 10px 24px rgba(9,30,12,.25); transform: rotate(2deg); }

/* Made for real life */
.real { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.real figure { margin: 0; background: #fff; border-radius: 28px; padding: 10px 10px 16px; box-shadow: 0 14px 34px rgba(9,30,12,.08); transition: transform .2s; }
.real figure:nth-child(1) { transform: rotate(-1.5deg); }
.real figure:nth-child(3) { transform: rotate(1.5deg); }
.real figure:hover { transform: rotate(0) translateY(-4px); }
.real img { border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.real figcaption { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--moss); text-align: center; margin-top: 12px; }
@media (max-width: 900px) { .real { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .real figure { transform: none !important; } }

/* Keep "One for your money. One for your week." on one line on wider screens */
.head-c.wide { max-width: 980px; }
@media (min-width: 900px) { .head-c.wide h2 { white-space: nowrap; font-size: clamp(34px, 4vw, 48px); } }

/* Masthead: the long logo in a thin frame, like the brand banner */
.hero-band { padding: 22px 0 0; }
.frame { border: 0; max-width: 1220px; padding-left: 30px; padding-right: 30px; }
.masthead { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 44px 0 10px; text-align: center; }
.lockup { display: inline-block; width: min(760px, 92%); text-decoration: none; }
.lockup img { width: 100%; height: auto; }
.tagline { display: block; text-align: left; margin: 6px 0 0 46.5%; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(15px, 2.2vw, 26px); color: var(--moss); white-space: nowrap; }
.masthead .nav { gap: 6px; background: rgba(255,255,255,.65); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 0 6px 18px rgba(9,30,12,.06); }
.masthead .nav a:not(.btn) { padding: 8px 12px; }
.hero { padding-top: 34px; }
@media (max-width: 640px) {
  .hero-band { padding-top: 12px; }
  .frame { padding-left: 14px; padding-right: 14px; margin: 0 10px; }
  .masthead { padding-top: 26px; gap: 14px; }
  .masthead .nav { padding: 5px 5px 5px 12px; }
  .masthead .nav a:not(.btn) { display: inline-block; padding: 6px 6px; font-size: 14px; }
}
@media (max-width: 640px) { .tagline { margin-left: 40%; font-size: 13px; } .lockup { width: 88%; } }

/* Becca's photo in the About card */
.about .card img.me { width: 78%; margin: 0 auto 18px; border-radius: 28px; border: 8px solid #fff; box-shadow: 0 18px 36px rgba(9,30,12,.16); transform: rotate(-2deg); aspect-ratio: 851 / 1000; object-fit: cover; }

/* Portrait family photo in the hero */
.hero-art.tall { max-width: 440px; margin: 0 auto; }
.hero-art.tall .sticker.s1 { left: -70px; top: 70px; }
.hero-art.tall .sticker.s2 { right: -64px; bottom: auto; top: 44%; }
.hero-art.tall .sticker.s3 { left: -54px; bottom: 26%; }
.hero-art.tall .amp { right: -40px; }
@media (max-width: 900px) { .hero-art.tall { max-width: 380px; } }
@media (max-width: 640px) {
  .hero-art.tall { max-width: 300px; }
  .hero-art.tall .sticker.s1 { left: -40px; top: 40px; }
  .hero-art.tall .sticker.s2 { right: -36px; }
  .hero-art.tall .sticker.s3 { left: -34px; }
}

/* About card is just the photo now */
.about .card { padding: 28px; }
.about .card img.me { width: 100%; margin: 0; }

.about .say p.why { background: var(--sage); border-radius: 22px; padding: 18px 22px; }
.about .say p.why b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 6px; color: var(--forest); }
.about .say p.why em { font-family: var(--serif); font-style: italic; font-weight: 600; color: #4D7F2A; font-size: 1.05em; }

/* Hero: photo with the notifications stacked beside it (never on top of it) */
.hero-art { display: grid; gap: 16px; align-items: center; }

.hero-art .photo { transform: rotate(-1deg); }
.hero-art .notes { display: flex; flex-direction: column; gap: 14px; }
.hero-art .notes .sticker { position: static; transform: none; }
.hero-art .notes .sticker:nth-child(1) { transform: rotate(-2deg); }
.hero-art .notes .sticker:nth-child(2) { transform: rotate(1.5deg) translateX(10px); }
.hero-art .notes .sticker:nth-child(3) { transform: rotate(-1deg); }
@media (max-width: 900px) {
  .hero-art { grid-template-columns: 1fr; max-width: 560px; }
  .hero-art .notes { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-art .notes .sticker:nth-child(n) { transform: none; }
}
@media (min-width: 901px) { .hero { grid-template-columns: 1.05fr 1.25fr; gap: 44px; } .hero h1 { font-size: clamp(42px, 5.2vw, 68px); } }

/* Notifications: stacked along the photo's right edge (desktop); a tidy grid under it on small screens */
.hero-art { position: relative; display: block; }
.hero-art .notes .sticker:nth-child(1) { transform: rotate(-2deg); }
.hero-art .notes .sticker:nth-child(2) { transform: rotate(1.5deg) translateX(-12px); }
.hero-art .notes .sticker:nth-child(3) { transform: rotate(-1deg) translateX(6px); }
.hero-art .notes .sticker:nth-child(4) { transform: rotate(2deg) translateX(-8px); }
@media (min-width: 901px) {
  .hero-art { margin-right: 120px; }
  .hero-art .notes { position: absolute; right: -150px; top: 50%; transform: translateY(-50%); width: 220px; gap: 12px; }
}
@media (max-width: 900px) {
  .hero-art .notes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  .hero-art .notes .sticker:nth-child(n) { transform: none; }
}

/* About: photo lines up with the top of "Hi, I'm Becca!", no extra box, even line spacing */
.about { align-items: start; }
@media (min-width: 901px) { .about { grid-template-columns: .8fr 1.2fr; } }
.about .card { background: none; padding: 0; border-radius: 0; }
.about .card img.me { width: 100%; margin: 6px 0 0; transform: none; border: 0; border-radius: 30px; box-shadow: 0 18px 40px rgba(9,30,12,.14); }
.about .say p.why em { font-size: 1em; line-height: inherit; }
.about .say p { margin-bottom: 18px; }
@media (max-width: 900px) { .about .card img.me { max-width: 420px; margin: 0 auto; } }

/* Each notification gets its own soft color; the icon sits on white */
.sticker.s1 { background: #FFF0BF; }
.sticker.s4 { background: #D9E6FA; }
.sticker.s2 { background: #FBDCE6; }
.sticker.s3 { background: #DDF1E1; }
.sticker .dot { background: #fff !important; }
